pareto_scale: Pareto Scaling

View source: R/FullConditionals.R

pareto_scaleR Documentation

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.

Author(s)

Keefe Murphy - <keefe.murphy@mu.ie>

References

van den Berg, R. A., Hoefsloot, H. C. J, Westerhuis, J. A., 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

dat  <- pareto_scale(olive[,-(1:2)])

Keefe-Murphy/IMIFA documentation built on Jan. 31, 2024, 2:15 p.m.