filterGenes: Filter genes

Description Usage Arguments Details Value Author(s) Examples

View source: R/preprocess.r

Description

Filter genes

Usage

1
filterGenes(x, mu = 0.01, cv = 2, fano = FALSE, verbose = FALSE)

Arguments

x

Matrix to be normalised with cells in rows and genes in columns

mu

Meam threshold

cv

Coefficient of variation or Fano factor threshold.

fano

Default TRUE. Predicate treat CV as Fano factor or CV

verbose

Default FALSE. Return plot.

Details

Filter genes Filter genes by mean and either coefficient of variation, cv or Fano factor.

Value

Returns a filtered matrix with same number of cells but fewer genes than 'x'

Author(s)

Wajid Jawaid

Examples

1
2
3
4
## Not run: 
expressionGenesFiltered <- filterGenes(x)

## End(Not run)

wjawaid/roots documentation built on May 20, 2019, 11:37 a.m.