process_plotting_colours: Generates colour for a metannotate barplot or loads...

Description Usage Arguments Value

View source: R/colours.R

Description

A wrapper for generate_plotting_colours to handle bigger-picture decision making

Usage

1
process_plotting_colours(metannotate_data, colouring_template_filename = NA)

Arguments

metannotate_data

Tibble of normalized metannotate data - see normalize

colouring_template_filename

Filename of the colouring template you want to load If the file does not exist, then this function will write a template to that file If 'NA' is entered, then the function will auto-generate colours and continue on

Value

a tibble of unique taxa with HTML colour codes in the 'colour' column


MetAnnotate/metannoviz documentation built on Aug. 2, 2020, 3:12 p.m.