univ_coxph | R Documentation |
univariate and multivariate survival analysis using coxph
univ_coxph(dataframe, y_surv, digits = 4, asnumeric = TRUE)
dataframe |
Clinic data and covariates ready to be tested. Rows are variables and columns are samples. |
y_surv |
Survival function contain survival data, usually are obtained form Surv() function in survival package. |
digits |
Integer indicating the number of decimal places. |
asnumeric |
indicator that the data will be (True) / not (False) transformed into numeric. Default is true. |
Object of class matrix
with results.
Xin Yu
data(demo_survival_data) data('demo_data',package = "EnMCB") demo_set<-demo_data$realdata res<-univ_coxph(demo_set,demo_survival_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.