A wrapper which carries out robust PCA analysis on a Spectra object. The data are row- and column-centered, and the user can select various options for scaling.
Usage
r_pcaSpectra(spectra, choice = "noscale")
Arguments
Value
An object of classes "conPCA" and "princomp" (see q2rPCA). It includes a list element called $method, a character string describing the pre-processing carried out and the type of PCA performed (it appears on plots which you might make).
Rdversion
1.1
References
K. Varmuza and P. Filzmoser Introduction to Multivariate Statistical Analysis in Chemometrics, CRC Press, 2009.
https://github.com/bryanhanson/ChemoSpec
See Also
See PCAgrid on which this function is based. For the classical version, see c_pcaSpectra.