Learn R Programming

roots (version 1.0)

bgGeneNorm: Normalise by background gene set

Description

Normalise by background gene set

Usage

bgGeneNorm(x, threshold = 0.05)

Arguments

x

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

threshold

Default 0.05. The threshold below which a gene is deemed background

Value

Returns a normalised matrix of same dimenions as 'x'

Details

Normalise by background gene set. Find background genes that are expressed at a lower percentage of the total library size per cell than 'threshold' parameter. These genes are used to calculate a normalisation factor.

Examples

Run this code
# NOT RUN {
normGenes <- bgGeneNorm(x)
# }

Run the code above in your browser using DataLab