cape (version 2.0.2)

norm.pheno: Normalize and mean center phenotypes

Description

This function performs quantile normalization on phenotypes and optionally mean centers them.

Usage

norm.pheno(data.obj, mean.center = TRUE)

Arguments

data.obj
The object in which all results are stored. See read.population.
mean.center
A logical value. If TRUE the phenotypes are mean centered in addition to being normalized. if FALSE, the phenotypes are not mean centered.

Value

This function returns data.obj with the normalized phenotypes in place of the original phenotypes.

Details

In quantile normalization the values of the phenotype are sorted and replaced with a corresponding value drawn from a normal distribution with the same standard deviation and mean as the original distribution. Mean centering subtracts the mean phenotype value from each phenotype value yielding a distribution centered around 0.

See Also

get.eigentraits