View source: R/pipeline_modules.R
predictCoxModel | R Documentation |
This function is for an older version of MethylPipeR and is now deprecated. It is currently still included to allow old scripts to run correctly. Calculate linear model predictions using glmnet Cox model.
predictCoxModel(model, xs, pipelineRunInformation, modelLabel)
model |
A Cox glmnet model object. |
xs |
A matrix/data.frame corresponding to X (variables). Columns should correspond to features. |
pipelineRunInformation |
The object originally created by
|
modelLabel |
A string that will act as a label for this function call. The label will be used as a prefix for the saved object file names in this function call. |
A vector of model predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.