loadings {MAIT} | R Documentation |
Function loadings
returns the loading vectors for either the PCA, PLS models when functions plotPCA
or plotPLS
have been already respectively launched. It also can be used to retrieve the peak aggregation models.
loadings(object, type = "none", ...)
object |
A MAIT-class object |
type |
A character whose value should be "PCA" or "PLS" depending on which loading vectors are wanted. If it is set to "none", the peak aggregation models are retrieved. |
... |
Other input |
A matrix with the loading vectors.
Francesc Fernandez, francesc.fernandez.albert@upc.edu
data(MAIT_sample) MAIT<-spectralSigFeatures(MAIT,p.adj="fdr",parametric=TRUE) loadings(MAIT) MAIT<-plotPCA(MAIT,plot3d=FALSE) loadings(MAIT,type="PCA") MAIT<-plotPLS(MAIT,plot3d=FALSE) loadings(MAIT,type="PLS")