View source: R/get_roc_curve.R
get_roc_curve | R Documentation |
The function 'get_roc_curve' uses to plot the ROC curve for predicting immunotherapy response.
get_roc_curve(roc_data, print.auc = TRUE, main = "Objective Response")
roc_data |
A 2 X n data fram, which contain the immunotherapy response and risk score (generated by the function 'get_risk_score') for patients. |
print.auc |
Boolean. Should the numeric value of AUC be printed on the plot? |
main |
A main title for the plot. |
No return, plot the ROC curve for immunotherapy response prediction.
#Load the data. data(roc_data) #perform the function `get_roc_curve`. get_roc_curve(roc_data,print.auc=TRUE,main="Objective Response")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.