filter_zero_genes {CellBench}R Documentation

Filter out zero count genes

Description

Remove all genes (rows) where the total count is 0

Usage

filter_zero_genes(x)

Arguments

x

the SingleCellExperiment or matrix to filter

Value

object of same type as input with all zero count genes removed

Examples

x <- matrix(rep(0:5, times = 5), nrow = 6, ncol = 5)
filter_zero_genes(x)

[Package CellBench version 1.8.0 Index]