corrVar function

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.

Returns

Vector of corrected variance estimates.

  • Maintainer: Dominic Grün
  • License: GPL-3
  • Last published: 2024-11-24

Useful links