diff --git a/inst/rmd/SparseEset_QC.Rmd b/inst/rmd/SparseEset_QC.Rmd index c708f34..10f1c83 100644 --- a/inst/rmd/SparseEset_QC.Rmd +++ b/inst/rmd/SparseEset_QC.Rmd @@ -400,7 +400,7 @@ if (length(grps) > 1) { } } } else { - tmp.d.sel <- tmp.d.sel[Matrix::rowSums(tmp.d.sel) > 0,] + tmp.d.sel <- tmp.d[Matrix::rowSums(tmp.d) > 0,] tmp.d.sel <- tmp.d.sel[,Matrix::colSums(tmp.d.sel) > 0] cells_per_gene <- Matrix::rowSums(tmp.d.sel != 0)