R/load.R
aggregate_taxa.Rd
This function facilitates aggregating family, genus, and species columns into the taxa data structure, which is a nested list composed of multiple "taxons". A taxon is a list containing family, genus, and species fields.
aggregate_taxa(table, grouping_col = NULL)
The table for which the taxa will be aggregated
An optional column to group on when creating taxa. Rows with the same grouping_col value will be stored into the same taxa.
A tibble with family, genus, and species columns added