predict.M2EFM_models: Predict the M2EFM model on new data.

Description Usage Arguments Value

View source: R/m2efm.R

Description

Predict the M2EFM model on new data.

Usage

1
2
## S3 method for class 'M2EFM_models'
predict(fit, data, clin, covariates)

Arguments

fit

the M2EFM models to predict - the result of build_m2efm

clin

data.frame with clinical data

covariates

vector of column names in clinical data

new_data

data.frame with molecular data.

Value

a data.frame of up to two columns of predictions: for molecular and covariates and molecular only


jeffreyat/M2EFM documentation built on May 19, 2019, 4 a.m.