msScaling: Data scaling

Description Usage Arguments Value See Also

Description

This function realizes two steps: mean-centring and scaling.
Mean-centring means that for each feature (peak/compound) all samples intensities are considered as differences from the mean intensity of this feature.
Scaling means that these differences are standardized for all the features by dividing by standard deviation, or range, or another measure of variance.
Therefore, after scaling all the features have mean intensity 0 and corresponding variance measure 1.

Usage

1
2
## S4 method for signature 'MSdata'
msScaling(msdata, method = "pareto")

Arguments

msdata

MSdata-class object

method

The method of scaling, one of:
"auto" - Autoscaling, mean-centring and dividing by the standard deviation of each variable;
"pareto" - Pareto scaling, mean-centring and dividing by the square root of standard deviation of each variable;
"range" - Range scaling, mean-centring and dividing by the range of each variable

Value

MSdata-class object with normalised intensity matrix

See Also

msTransform, msNorm, msNormStandards, msNormBiomass


flajole/MSdata documentation built on May 16, 2019, 1:17 p.m.