noiseBaseFit {RaceID} | R Documentation |
Function for computing a fit to the baseline of gene expression variability
Description
This function fits a second order polynomial to the baseline variance-mean dependence across all genes in log space.
Usage
noiseBaseFit(x, step = 0.01, thr = 0.05)
Arguments
x |
Matrix of gene expression values with genes as rows and cells as columns. |
step |
Positive real number between 0 and 1. Bin size for the computation. The interval of mean gene expression values is divided into bins with equal number of data points and |
thr |
Positive real number between 0 and 1. In each mean expression bin defined by |
Value
List object of three components:
nfit |
model fit as returned by the |
m |
mean expression of all genes |
v |
expression variance of all genes |
Examples
x <- noiseBaseFit(intestinalDataSmall,step=.01,thr=.05)