get_phylo_palette | R Documentation |
getPhyloPalette
get_phylo_palette(
p,
n = 10,
palette_high = colorbook$helpcenter,
palette_low = colorbook$inslife,
random_high = FALSE,
random_low = FALSE,
other_color = "#555555",
OTU = F
)
p |
A Phyloseq object |
n |
Max number of taxa to be included in the "primary" palette, with the rest in a secondary, less dramatic palette |
palette_high |
Expanding color palette for the high taxa |
palette_low |
Expanding color palette for the low taxa |
random_high |
If TRUE, randomize the color palette. If FALSE, colors will be arranged from high to low taxa abundance |
random_low |
If TRUE, randomize the color palette. If FALSE, colors will be arranged from high to low taxa abundance |
other_color |
Color to use for the aggregated Other taxa |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.