normalizeQuantile.numeric {aroma.light}R Documentation

Normalizes the empirical distribution of a single sample to a target distribution

Description

Normalizes the empirical distribution of a single sample to a target distribution.

Usage

## S3 method for class 'numeric':
normalizeQuantile(x, xTarget, ties=FALSE, ...)

Arguments

x a numeric vector of length N.
xTarget a numeric vector of length M.
ties Should ties in x be treated with care or not? For more details, see "limma:normalizeQuantiles".
... Not used.

Value

Returns a numeric vector of length N.

Missing values

It is only the empirical distribution of the non-missing values that is normalized to the target distribution. All NA values remain NA after normalization. No new NAs are introduced.

Author(s)

Adopted from Gordon Smyth (http://www.statsci.org/) in 2002 & 2006. Original code by Ben Bolstad at Statistics Department, University of California.

See Also

To calculate a target distribution from a set of samples, see *getAverageQuantile(). This method is used by normalizeQuantile.list().


[Package aroma.light version 1.6.0 Index]