A data frame, including survival status, survival time, and risk score of each sample. The data frame can be generated by the function `get_risk_score`.
response
Response status of the sample to the drug.
cut_point
The threshold uses to classify patients into two subgroups with different OS.
TRAIN
Logical,if set to TRUE,the 'cut_point' is generated by the median of the risk score; Otherwise,'cut_point' can be customized.
Value
Comparison of the objective response rate between the high-risk and low-risk groups, plot the bar graph and return the p value.
# NOT RUN {#Load the data.data(km_data,response)
#perform the function `get_response_plot`.get_response_plot(km_data,response,cut_point,TRAIN=TRUE)
# }