Learn R Programming

roots (version 1.0)

filterGenes: Filter genes

Description

Filter genes

Usage

filterGenes(x, mu = 0.01, cv = 2, fano = 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

Value

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

Details

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

Examples

Run this code
# NOT RUN {
expressionGenesFiltered <- filterGenes(x)
# }

Run the code above in your browser using DataLab