corrVar: Function for regressing out the mean-variance dependence....

View source: R/VarID_functions.R

corrVarR Documentation

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)

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.

Value

Vector of corrected variance estimates.


RaceID documentation built on Sept. 28, 2023, 5:06 p.m.