get_univarCox_result {ssMutPA} | R 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)
[Package ssMutPA version 0.1.0 Index]