Skip to content

Commit

Permalink
fixed a bug in drawSparseEsetQC() that happens when no groupping info…
Browse files Browse the repository at this point in the history
… is provided
  • Loading branch information
QingfeiPan committed Aug 5, 2024
1 parent 4d0088d commit 7507829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/rmd/SparseEset_QC.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7507829

Please sign in to comment.