add_taxon_name_color: Create taxon names suitable for visualization with color. A...

View source: R/adders_taxa.R

add_taxon_name_colorR Documentation

Create taxon names suitable for visualization with color. A rank can be supplied to aggregate colors higher than the current rank.

Description

Create taxon names suitable for visualization with color. A rank can be supplied to aggregate colors higher than the current rank.

Usage

add_taxon_name_color(
  ta,
  method = "total_rel_abundance",
  n = 12,
  samples = NULL,
  taxa = NULL,
  rank = NULL
)

Arguments

ta

a tidyamplicons object

method

the method on which to arrange the taxon names.

n

integer denoting the amount of most abundant taxa to display. Capacity at 12.

samples

optional vector of sample_id's of interest

taxa

optional vector of taxon_id's of interest


SWittouck/tidyamplicons documentation built on Aug. 15, 2023, 3:14 a.m.