Skip to content

Commit 6b349e7

Browse files
spelling error
1 parent fc0baa4 commit 6b349e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/deg.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ deg.prepare <- function(se, pathology, case, control, sample.col, filter_only_ca
183183
### Filter by expression
184184
pb = pb[edgeR::filterByExpr(pb, group=pathology, min.count=min.count, min.prop=frac_n),]
185185
if (cpm.cutoff > 0) {
186-
pb = pb[filterByCPM(assays(pb)[[1]], group=pb[[pathology]], min.prob=frac_n, min.cpm=cpm.cutoff),]
186+
pb = pb[filterByCPM(assays(pb)[[1]], group=pb[[pathology]], min.prop=frac_n, min.cpm=cpm.cutoff),]
187187
}
188188
se = se[rownames(pb), SummarizedExperiment::colData(se)[[sample.col]] %in% colnames(pb)]
189189
cd = SummarizedExperiment::colData(se)

0 commit comments

Comments
 (0)