Description Usage Arguments Value Author(s) Examples
Accessor and replacement functions for the plotcolors
slot in an
COBRAPlot
object.
1 2 3 4 5 6 7 8 9 | 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
1 2 3 4 5 6 | data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
binary_truth = "status",
aspects = "fdrtpr")
cobraplot <- prepare_data_for_plot(cobraperf)
plotcolors(cobraplot)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.