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).