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:
bModel coefficients
TpPredictive scores
PpPredictive loadings
WX-weights
Cy-weights
TorthoOrthogonal scores
PorthoOrthogonal loadings
WorthoOrthogonal weights matrix
Selected.biomarkersVector of identified biomarkers
CVCriterion for the number of orthogonal components to keep
original.datasetOriginal X matrix
XoplsOPLS-filtered X matrix
original.responseOriginal y vector
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.