build.coxregression.model | R Documentation |
Build cox regression model
build.coxregression.model(d.frame, status, time, seed = 666, scale = TRUE)
d.frame |
Data.frame — Row: sample, Column: gene expression |
time |
OS, DFS, RFS et al..... |
seed |
Default 666 |
scale |
# psm (parametric survival model) uses a survival model based on functions and their parameters.
# cph (Cox Proportional Hazards Model and Extensions) is using the cox model (and the Anderson-Gill model) which is based on the hazard functions.
data(LIRI)
res = loonR::build.coxregression.model(LIRI[,3:5],LIRI$status, LIRI$time)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.