Function for regressing out the mean-variance dependence. This function corrects for the systematic dependence of the variance on the mean by a local regression.
Function for regressing out the mean-variance dependence. This function corrects for the systematic dependence of the variance on the mean by a local regression.
corrVar(m, v, span =0.75, degree =2)
Arguments
m: Vector of mean expression estimates for a set of genes.
v: Vector of variance etsimates for a set of genes.
span: Parameter for the local regression. See help(loess). Default value is 0.75.
degree: Parameter for the local regression. See help(loess). Default value is 2.