View source: R/trainAndTestMolSigs.R
miniRegEval | R Documentation |
miniRegEval Runs lasso regression on a single feature from tabular data and evaluates on a second set of data. This is a little more complicated than LOO analysis because we have to check for shared feature names
miniRegEval(
trainTab,
testTab,
mol.feature = "Gene",
feature.val = "mRNALevels",
enet.alpha = c(1)
)
trainTab |
with column names 'AML sample',meanVal,Gene, and whatever the value of 'mol.feature' is. |
testTab |
with column names 'Sample', meanVal, Gene, and whatever the value of 'mol.feature' is |
mol.feature |
list of molecular features to be evaluated |
a data.frame with three values/columns: MSE, numFeatures, and Genes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.