get_phylo_palette: getPhyloPalette

get_phylo_paletteR Documentation

getPhyloPalette

Description

getPhyloPalette

Usage

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
)

Arguments

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


jeffkimbrel/jakR documentation built on April 6, 2024, 8:48 p.m.