Skip to content

Commit c2f488d

Browse files
Merge pull request #346 from ethanbass/master
fixed bug in calc_diff_abund_deseq2
2 parents 6fe54ca + a506997 commit c2f488d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/calculations--differential_abundance.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ calc_diff_abund_deseq2 <- function(obj, data, cols, groups, other_cols = FALSE,
115115
other_cols <- get_taxmap_other_cols(obj, data, cols, other_cols)
116116

117117
# Get every combination of groups to compare
118-
combinations <- t(utils::combn(unique(groups), 2))
118+
combinations <- t(utils::combn(unique(as.character(groups)), 2))
119119
combinations <- lapply(seq_len(nrow(combinations)), function(i) combinations[i, ])
120120

121121
# Format data for DESeq2

0 commit comments

Comments
 (0)