plsDA_main | R Documentation |
The main wrapper for full Partial Least Squares discriminant analysis, performing cross-validation to tune model parameters (here, number of components) and do permutation tests (ie bootstrapping) to get pseudo-pvals estimates for model coefficients
The main wrapper for full sparse Partial Least Squares discriminant analysis, performing cross-validation to tune model parameters (here, number of components) and do permutation tests (ie bootstrapping) to get pseudo-pvals estimates for model coefficients
plsDA_main( x, grouping, K, usePriors = FALSE, fold = 5, nboots = 999, n.core = 4, noise = 0, ... ) splsDA_main( x, grouping, eta, K, usePriors = FALSE, fold = 5, nboots = 999, n.core = 4, noise = 0, ... )
x |
data with samples in rows, features are columns (not necessarily compositional x) |
grouping |
a numeric vector or factor with sample classes (length should equal |
K |
numeric vector containing number of components in the PLS model |
usePriors |
use priors for very biased sample size between groups (ie - put strong penalty on misclassifying small groups) |
fold |
number of partitions to randomly subsample for cross-validation |
nboots |
number of bootstraps/permutations for estimating coefficient p-vals |
n.core |
number of cores for paralellization of bootstraps |
noise |
for very sparse components, some subsamples may have zero variance. Optionally, add some Gaussian noise to to avoid PLS errors |
... |
additional arguments passed to plsDA |
a plsDA
object that contains: the plsda model/object, pvals
, the original data, x
, and groupings
a plsDA
object that contains: the plsda model/object, pvals
, the original data, x
, and groupings
plsDA
plsDA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.