model {MAIT} | R Documentation |
Function model
returns the model for either the PCA, PLS models when functions plotPCA
or plotPLS
have been already respectively launched.
model(x,type)
x |
A MAIT-class object |
type |
A character whose value should be "PCA" or "PLS" depending on which loading vectors are wanted. |
The PCA or PLS model
Francesc Fernandez, francesc.fernandez.albert@upc.edu
data(MAIT_sample) MAIT<-spectralSigFeatures(MAIT,p.adj="fdr",parametric=TRUE) MAIT<-plotPCA(MAIT,plot3d=FALSE) model(MAIT,type="PCA") MAIT<-plotPLS(MAIT,plot3d=FALSE) model(MAIT,type="PLS")