Each element of scores is matched with the corresponding element of
labels, which allows the curves to come from different cohorts or
endpoints rather than from different markers of the same cohort.
Usage
plot_MulROC(
scores,
labels,
palette = "house",
color = NULL,
legend.pos = "bottom",
title = NULL,
font = "Arial",
percent.style = FALSE
)Arguments
- scores
A named list of numeric marker vectors.
- labels
A list of binary outcomes, one per element of
scores.- palette
Palette name passed to
get_color().- color
Optional vector of colours; overrides
palette.- legend.pos
Legend position: a position such as
"bottom", or an x/y coordinate pair in panel units for a legend inside the panel.- title
Plot title.
- font
Font family used in the plot.
- percent.style
Label the axes as percentages.