| getScoreMN {ropls} | R Documentation |
(Orthogonal) scores of the (O)PLS(-DA) model
getScoreMN(object, ...) ## S4 method for signature 'opls' getScoreMN(object, orthoL = FALSE)
object |
An S4 object of class |
... |
Currently not used. |
orthoL |
Logical: Should the orthogonal score matrix be returned (default is FALSE and the predictive score matrix is returned) |
Numeric matrix with a number of rows equal to the number of samples and a number of columns equal to the number of components
Etienne Thevenot, etienne.thevenot@cea.fr
data(sacurine)
attach(sacurine)
sacurine.plsda <- opls(dataMatrix,
sampleMetadata[, "gender"])
getScoreMN(sacurine.plsda)
detach(sacurine)