This function generates the overall ROC curve for cross-validations (CVs) with varying feature numbers and the ROC curve for the average CVs based on user-selected feature numbers.
plot_ml_roc(ml_se, feature_num = 10)
A SummarizedExperiment object with results computed by ml_model
.
Numeric. The number of features to be shown in the plots.
A feature number value selected from feature_option
of the
SummarizedExperiment object returned by ml_model
. Usually be
one of 2, 3, 5, 10, 20, 50, 100. Default is 10
.
Return 2 interactive plots, 2 static plots, and 2 data frames.
interactive_mean_auc & static_mean_auc: ROC curve plots
initeractive_roc & static_roc: ROC Curve of average CVs plots
table_mean_auc_plot: ROC data frame of n features
table_roc: average ROC curve plot of n features
data("ml_se_sub")
res <- plot_ml_roc(ml_se_sub, feature_num=10)