Learn R Programming

GSSTDA (version 0.1.3)

cox_all_genes: 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_disease_component) and their link with relapse-free or overall survival.

Usage

cox_all_genes(case_disease_component, survival_time, survival_event)

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.

Arguments

case_disease_component

Disease component matrix (output of the function generate_disease_component) 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).