Learn R Programming

IMIFA (version 2.1.5)

pareto_scale: Pareto Scaling

Description

Pareto scaling of a numeric matrix, with or without centering. Observations are scaled by the square-root of their column-wise standard deviations.

Usage

pareto_scale(x,
             centering = TRUE)

Arguments

x

A numeric matrix-like object.

centering

A logical vector indicating whether centering is to be applied (default=TRUE).

Value

The Pareto scaled version of the matrix x.

References

van den Berg, R.A., Hoefsloot, H.C.J, Westerhuis, J.A. and Smilde, A.K. and van der Werf, M.J. (2006) Centering, scaling, and transformations: improving the biological information content of metabolomics data. BMC Genomics, 7(142).

Examples

Run this code
# NOT RUN {
dat  <- pareto_scale(olive[,-c(1,2)])
# }

Run the code above in your browser using DataLab