univ_coxph: Batch test for variables using coxph

Description Usage Arguments Value Author(s) Examples

View source: R/univ_coxph.R

Description

Batch test for variables using coxph

Usage

1
univ_coxph(dataframe, y_surv, digits = 4, asnumeric = TRUE)

Arguments

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.

Value

Object of class matrix with results.

Author(s)

Xin Yu

Examples

1
2
3
4
data(demo_survival_data)
data('demo_data',package = "EnMCB")
demo_set<-demo_data$realdata
res<-univ_coxph(demo_set,demo_survival_data)

EnMCB documentation built on Dec. 22, 2020, 2 a.m.