Skip to content

Commit

Permalink
droplevels in the blockCol, closes #19 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiNk-NY authored Oct 20, 2023
1 parent ae0b752 commit dd93ecf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/lefser.R
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ lefser <-
relab_sub <- filterKruskal(relab = relab_data, group = groupf, p.value = kruskal.threshold)

if (!is.null(blockCol)) {
block <- as.factor(colData(relab)[[blockCol]])
block <- as.factor(colData(expr)[[blockCol]])
block <- droplevels(block)
relab_sub <- fillPmatZmat(group = groupf, block = block, relab_sub = relab_sub, p.threshold = wilcox.threshold)
}

Expand Down

0 comments on commit dd93ecf

Please sign in to comment.