cox_all_genes {GSSTDA} | R Documentation |
Survival analysis based on gene expression levels.
Description
It carries out univariate cox proportional hazard models for the expression levels of each gene included in the provided dataset (case_full_data) and their link with relapse-free or overall survival.
Usage
cox_all_genes(case_full_data, survival_time, survival_event)
Arguments
case_full_data |
Input matrix whose columns correspond to the patients and rows to the genes, having selected only the columns belonging to disease samples. The names of the rows must be the names of the genes. |
survival_time |
Numeric vector that includes time to the event information |
survival_event |
Numeric vector that indicates if relapse or death have been produced (0 and 1s). |
Value
A matrix with the results of the application of proportional
hazard models using the expression levels of each gene as covariate.
The coef
column corresponds to the regression coefficient; the
exp_coef
column corresponds to the value of e^coef (which is
interpreted as the odds ratio); the se_coef
column corresponds
to the standard error of each coefficient; the Z
column corresponds
to the value of coef/se_coef (the higher the Z value, the higher the
significance of the variable) and the Pr_z
column corresponds to
the p-value for each Z value.