Learn R Programming

RaceID (version 0.3.9)

corrVar: 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.

Description

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.

Usage

corrVar(m, v, span = 0.75, degree = 2)

Value

Vector of corrected variance estimates.

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.