Learn R Programming

PMAPscore (version 0.1.1)

get_univarCox_result: Perform the univariate Cox regression analysis.

Description

The function `get_univarCox_result` uses to perform the univariate Cox regression analysis.

Usage

get_univarCox_result(DE_path_sur)

Arguments

DE_path_sur

A binary metadata table containing survival status and survival time of each sample.Note that the column names of survival time and survival status must be "survival" and "event"

Value

Return a data frame, the univariate Cox regression analysis results.

Examples

Run this code
# NOT RUN {
#get path of the mutation annotation file.
data(path_cox_data)
#perform function `get_univarCox_result`.
res<-get_univarCox_result(path_cox_data)
# }

Run the code above in your browser using DataLab