Description Usage Arguments Value
Generates the ggplot of MetAnnotate data
1 2 3 4 5 6 7 8 9 10 11 12 | generate_ggplot(
metannotate_data,
hit_totals,
plotting_colour_data,
plotting_taxon,
normalizing_HMM,
plot_type = "bar",
space = "free",
bubble_size_range = c(1, 20),
alpha = 0.8,
bubble_labels = TRUE
)
|
metannotate_data |
Tibble of normalized metannotate data - see |
hit_totals |
Tibble of total normalized hits per HMM/sample; this is generated in |
plotting_colour_data |
Tibble of plot colours generated by |
plotting_taxon |
The taxonomy rank to summarize bars/bubbles to; MUST MATCH the collapse taxon of the MetAnnotate table |
normalizing_HMM |
the name of the normalizing HMM (e.g., 'rpoB') |
plot_type |
Either 'bar' or 'bubble' |
space |
ggplot setting; 'fixed' or 'free' |
bubble_size_range |
numeric vector of length two with the small and large bubble sizes |
alpha |
ggplot value; transparency (for bubble plots) |
bubble_labels |
logical; show percent labels on the bubbles for bubble plots? |
A ggplot of MetAnnotate data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.