Minimal quality control (QC): remove features with all zero values.

zeroFeatQC(sce, assayName = "counts", verbose = TRUE)

Arguments

sce

SingleCellExperiment object.

assayName

Character.

verbose

Logical. Whether to report the result with message() (default: TRUE).

Value

An updated SingleCellExperiment object after minimal QC.

Examples

sce <- scuttle::mockSCE(ncells = 20, ngenes = 10)
counts(sce)[1:2, ] <- 0
sce <- zeroFeatQC(sce)
dim(sce)