View source: R/supportFunc_splsda.R
takes in predited weights and true labels and determines performance characterisitcs
1 2 |
X.train |
n1xp dataset (discovery cohort) |
Y.train |
vector of phenotype labels with names(Y.train) == rownames(X.train) |
keepX |
(# of variables to select per component) |
ncomp |
number of components |
X.test |
n2xp dataset (validaton cohort) |
Y.test |
vector of phenotype labels with names(Y.test) == rownames(X.test) |
filter |
apply no filter "none" or a p.value filter "p.value |
topranked |
select the top significant variables based on limma |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.