scores: Extract the scores from an O2PLS fit

Description Usage Arguments Value See Also Examples

View source: R/OmicsPLS.R

Description

This function extracts score matrices from an O2PLS fit

Usage

1
2
3
4
5
scores(x, ...)

## S3 method for class 'o2m'
scores(x, which_part = c("Xjoint", "Yjoint", "Xorth",
  "Yorth"), subset = 0, ...)

Arguments

x

Object of class o2m

...

For consistency

which_part

character string. One of the following: 'Xjoint', 'Yjoint', 'Xorth' or 'Yorth'.

subset

subset of scores vectors to be extracted.

Value

Scores matrix

See Also

loadings.o2m

Examples

1
scores(o2m(scale(-2:2),scale(-2:2*4),1,0,0))

selbouhaddani/OmicsPLS documentation built on Aug. 2, 2019, 1:06 p.m.