Learn R Programming

ssMutPA (version 0.1.2)

get_univarCox_result: Perform the univariate Cox proportional hazards regression analysis.

Description

The function `get_univarCox_result` is used to perform the univariate Cox proportional hazards regression analysis.

Usage

get_univarCox_result(DE_path_sur)

Value

A data frame containing the pathways' coefficient, HR, confidence interval, and survival related difference p-value .

Arguments

DE_path_sur

A matrix containing the activity values of all pathways in each sample, along with the survival time and survival status of the samples.Note that the column names of survival time and survival status must be "survival" and "event".

Examples

Run this code
#get path of the mutation annotation file.
data(cox_data)
#perform function `get_univarCox_result`.
res<-get_univarCox_result(cox_data)

Run the code above in your browser using DataLab