View source: R/metapredict_predict.R
metapredict | R Documentation |
Merge the discovery datasets with each validation dataset, train a glmnet
model on the samples from the discovery datasets, then predicts the response
variable for the samples in the respective validation dataset.
metapredict( ematList, studyMetadata, sampleMetadata, discoveryStudyNames, alpha, lambda, weights, batchColname = "study", covariateName = NA, className = "class", type = "response", ... )
ematList |
Named list of expression matrices. |
studyMetadata |
|
sampleMetadata |
|
discoveryStudyNames |
vector of study names for training. |
alpha |
value of alpha for the elastic net mixing parameter. |
lambda |
value of regularization parameter. |
weights |
vector of weights for training the |
batchColname |
column in |
covariateName |
column in |
className |
column in |
type |
type of prediction to make, passed to |
... |
Other arguments passed to |
A named list of objects from glmnet::predict.glmnet()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.