fitBackVar {RaceID} | R Documentation |
Function for computing a background model of gene expression variability
Description
This funtion fits a second order polynomial to the variance-mean dependence across all genes in log space.
Usage
fitBackVar(x, mthr = -1)
Arguments
x |
Matrix of transcript counts with genes as rows and cells as columns. |
mthr |
Real number. Threshold of log2 mean expression. Genes with mean expression |
Value
List object of four components:
fit |
model fit as returned by the |
genes |
genes with expression variance greater than the polynomial fit. |
m |
mean expression of all genes |
v |
expression variance of all genes |
Examples
bg <- fitBackVar(intestinalDataSmall)
[Package RaceID version 0.3.5 Index]