| plotcolors {iCOBRA} | R Documentation |
plotcolors slotAccessor and replacement functions for the plotcolors slot in an
COBRAPlot object.
plotcolors(x, ...) plotcolors(x, ...) <- value ## S4 method for signature 'COBRAPlot' plotcolors(x) ## S4 replacement method for signature 'COBRAPlot,character' plotcolors(x) <- value
x |
A |
... |
Additional arguments. |
value |
A character vector giving the colors assigned to each of the
methods (or method/stratification level combinations) represented in the
|
The accessor function returns a character vector giving the colors
assigned to each of the methods (or method/stratification level
combinations) represented in the COBRAPlot object.
Charlotte Soneson
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
binary_truth = "status",
aspects = "fdrtpr")
cobraplot <- prepare_data_for_plot(cobraperf)
plotcolors(cobraplot)