FilterGenes: Filter out poor quality genes

Description Usage Arguments Value Examples

View source: R/filtering.R

Description

Genes (rows) with count greater than min_count and not expressed in atleast min_cell cells are removed.

Usage

1
FilterGenes(object, min_count = 2, min_cell = 3)

Arguments

object

the SingleCellExperiment to filter genes

min_count

integer threshold for expression count

min_cell

integer threshold for number of cells expressing a particular gene

Value

SingleCellExperiment object with the bad genes removed

Examples

1
2
3
4
library(SingleCellExperiment)
counts <- matrix(rpois(100, lambda = 10), ncol=10, nrow=10)
object <- SingleCellExperiment(assays = list(counts = counts))
FilterGenes(object)

debsin/dropClust documentation built on Nov. 4, 2019, 10:22 a.m.