scores: Retrieves the scores from a MAIT object

Description Usage Arguments Value Author(s) See Also Examples

Description

Function scores extracts the scores MAIT object

Usage

1
2
scores(object,
       type,...)

Arguments

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

Value

A numeric matrix containing the scores saved in the MAIT object

Author(s)

Francesc Fernandez, francesc.fernandez.albert@upc.edu

See Also

MAIT-class

Examples

1
2
3
4
5
6
7
8
9
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")

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.