Skip to content

Commit efdda24

Browse files
committed
use specified column to collapse techn repl, in correct helpers.R
1 parent 441cdc5 commit efdda24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lcdbwf/R/helpers.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ make.dds <- function(design_data, salmon.files=NULL, combine.by=NULL,
412412
}
413413

414414
if(!is.null(combine.by)){
415-
dds <-collapseReplicates(dds, dds$biorep)
415+
dds <-collapseReplicates(dds, dds[[combine.by]])
416416
}
417417

418418
dds <- DESeq(dds, ...)

0 commit comments

Comments
 (0)