get_univarCox_result: Perform the univariate Cox proportional hazards regression...

View source: R/specc_cluster.R

get_univarCox_resultR Documentation

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)

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".

Value

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

Examples

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

ssMutPA documentation built on Oct. 16, 2024, 1:06 a.m.