Description Usage Arguments Value Examples
Fit a GLM Using Clinical Predictors Specified in a ClinicalModel
Object.
1 2 3 4 5 6 7 | ## S4 method for signature 'ClinicalModel'
trainModel(
object,
...,
family = binomial(link = "logit"),
na.action = na.exclude
)
|
object |
A |
... |
Fall through parameters to the |
family |
Argument to the family parameter of |
na.action |
Argument to the na.action paramater of |
A ClinicalModel
object with a glm
object in the models slot.
1 2 3 4 5 6 7 | data(sampleClinicalModel)
set.seed(getModelSeed(sampleClinicalModel))
# Set parallelization settings
BiocParallel::register(BiocParallel::SerialParam())
trainedClinicalModel <- trainModel(sampleClinicalModel)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.