define_colours {Plasmidprofiler} | 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)