scores {MAIT} | R Documentation |
Function scores
extracts the scores MAIT object
scores(object, type,...)
object |
A MAIT-class object |
type |
If it is set to "none", the peak aggregation models are returned. If it is set to "PCA", the PCA model is returned. If it is set to "PLS", the PCA model is returned. |
... |
Other input |
A numeric matrix containing the scores saved in the MAIT object
Francesc Fernandez, francesc.fernandez.albert@upc.edu
data(MAIT_sample) MAIT<-spectralSigFeatures(MAIT,p.adj="fdr",parametric=TRUE) scores(MAIT) MAIT<-plotPCA(MAIT,plot3d=FALSE) scores(MAIT,type="PCA") MAIT<-plotPLS(MAIT,plot3d=FALSE) scores(MAIT,type="PLS")