powered by
This funtion fits a second order polynomial to the variance-mean dependence across all genes in log space.
fitBackVar(x, mthr = -1)
List object of four components:
model fit as returned by the lm function.
lm
genes with expression variance greater than the polynomial fit.
mean expression of all genes
expression variance of all genes
Matrix of transcript counts with genes as rows and cells as columns.
Real number. Threshold of log2 mean expression. Genes with mean expression < mthr are discarded prior to fitting the polynomial. Default is -1.
< mthr
bg <- fitBackVar(intestinalDataSmall)
Run the code above in your browser using DataLab