Learn R Programming

KODAMA (version 0.0.1)

normalization: Normalization methods

Description

Collection of Different Normalization Methods.

Usage

normalization(Xtrain,Xtest=NULL, method = "pqn",ref=NULL)

Arguments

Xtrain
a matrix of data (training data set).
Xtest
a matrix of data (test data set).(by default = NULL).
method
the normalization method to be used. Choices are "none", "pqn", "sum", "median", "sqrt" (by default = "pqn"). A partial string sufficient to uniquely identify the choice is permitted.
ref
Reference sample for Probabilistic Quotient Normalization. (by default = NULL).

Value

The function returns a list with 2 items or 4 items (if a test data set is present):
newXtrain
a normalized matrix (training data set).
coeXtrain
a vector of normalization coefficient of the training data set.
newXtest
a normalized matrix (test data set).
coeXtest
a vector of normalization coefficient of the test data set.

Details

A number of different normalization methods are provided:
  • "none": no normalization method is applied.
  • "pqn": the Probabilistic Quotient Normalization is computed as described in Dieterle, et al. (2006).
  • "sum": samples are normalized to the sum of the absolute value of all variables for a given sample.
  • "median": samples are normalized to the median value of all variables for a given sample.
  • "sqrt": samples are normalized to the root of the sum of the squared value value of all variables for a given sample.

References

Dieterle F,Ross A, Schlotterbeck G, Senn H. Probabilistic Quotient Normalization as Robust Method to Account for Diluition of Complex Biological Mixtures. Application in 1H NMR Metabolomics. Anal Chem 2006;78:4281-90.

See Also

scaling