View source: R/graphics_related.R
define_colours | R Documentation |
This function uses RColorBrewer to produce palettes based on the factor levels of the identified column in a report.
define_colours(report, column)
report |
Dataframe of results produced by |
column |
Specify a column by name |
Named vector of colours, names are factor levels of column supplied
## Not run: define_colours(report, "AMR_gene") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.