get_univarCox_result | R Documentation |
The function 'get_univarCox_result' is used to calculate the result of Cox univariate analysis.
get_univarCox_result(freq_matrix, sur)
freq_matrix |
The mutations matrix,generated by 'get_mut_status'. |
sur |
A nx2 data frame of samples' survival data,the first line is samples' survival event and the second line is samples' overall survival. |
The result of Cox univariate analysis.
#load the data
data(mut_status)
sur<-system.file("extdata","sur.csv",package ="ProgModule")
sur<-read.delim(sur,sep=",",header=TRUE,row.names=1)
#perform the function `get_univarCox_result`.
univarCoxresult.example<-get_univarCox_result(freq_matrix=mut_status,sur)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.