Description Usage Arguments Details Value Author(s) References

This function provides the options of Pareto scaling, unit scaling or no scaling of metabolomic data.

1 |

`Y` |
An N x p matrix of metabolomic spectra. Each row of Y is an observation's spectrum. |

`type` |
Default is "none" meaning the data are not altered. If "pareto", the data are Pareto scaled. If "unit", the data are unit scaled. |

Pareto scaling, frequently utilised in metabolomic analyses, scales data by dividing each variable by the square root of the standard deviation. Unit scaling divides each variable by the standard deviation so that each variable has variance equal to 1.

The function returns the requested scaled version of the input matrix *Y*.

Nyamundanda Gift, Isobel Claire Gormley and Lorraine Brennan.

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, 1, 142.

Nyamundanda G., Gormley, I.C. and Brennan, L. (2010) Probabilistic principal components analysis for metabolomic data. Technical report, University College Dublin.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.