Description Usage Arguments Details Value Examples
OPLS-DA for a two-class problem. Only one response is allowed and the number of predictive components is fixed to 1 accordingly.
1 |
x |
A data matrix on which will be based the analysis. |
y |
A numerical vector representing the class of individuals. |
impT |
If |
impG |
If |
no |
Number of orthogonal components to keep. |
nb |
Number of biomarkers to select. |
out.path |
Path to output the results' graphics |
The function allows only one predictive component since it is designed for a single dependent variable. It is based on the NIPALS PLS algorithm: after the removal of orthogonal components from the X matrix, a PLS1 NIPALS is ran on the filtered X matrix.
A list with the following elements:
b
Model coefficients
Tp
Predictive scores
Pp
Predictive loadings
W
X-weights
C
y-weights
Tortho
Orthogonal scores
Portho
Orthogonal loadings
Wortho
Orthogonal weights matrix
Selected.biomarkers
Vector of identified biomarkers
CV
Criterion for the number of orthogonal components to keep
original.dataset
Original X matrix
Xopls
OPLS-filtered X matrix
original.response
Original y vector
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.