Given a list of results computed by calculate_roc, plot the curve using ggplot with sensible defaults. Pass the resulting object and data to export_interactive_roc, plot_interactive_roc, or plot_journal_roc.
multi_ggroc(
datalist,
fpf_string = rep("FPF", length(datalist)),
tpf_string = rep("TPF", length(datalist)),
c_string = rep("c", length(datalist)),
label = NULL,
legend = TRUE,
label.adj.x = rep(0, length(datalist)),
label.adj.y = rep(0, length(datalist)),
label.angle = rep(45, length(datalist)),
plotmath = FALSE,
xlabel = "False positive fraction",
ylabel = "True positive fraction"
)
A ggplot object
List of data frames each containing true and false positive fractions and cutoffs
Column names identifying false positive fraction
Column names identifying true positive fraction
Column names identifying cutoff values
Not supported.
If true, draws legend
Not supported.
Not supported.
Not supported.
Logical. Not supported.
Defaults to "False positive fraction"
Defaults to "True positive fraction"