Agglomerates by rank_names() and then merges them into a phyloseq object.
add_ranks(ps = ps, ranks = c(rank_names(ps)), replace_ASV_names = TRUE, verbose = TRUE)
| ps | A |
|---|---|
| ranks | A vector of taxonomic rank names found in |
| replace_ASV_names | Logical. If TRUE, ASVs will be named with a unique and the lowest taxonomic rank available. |
| verbose | Logical. If FALSE, messages will be supressed. |
This function returns the input phyloseq object with additional taxa that are the
agglomerated taxa at the taxonomic levels provided.
#> Error in add_ranks(ps, ranks = c("Genus", "Family")): object 'ps' not found