Helper function to define column names for taxonomy agglomeration
Usage
make_agglom_cols(tax_glom_level, with_query_name = FALSE)
Arguments
- tax_glom_level
Character. Valid options are "domain", "phylum", "class", "order", "family", "genus", and "species".
- with_query_name
Boolean indicating whether the column name "query_name" should be included.
Value
A character vector of column names to be used for agglomeration
Examples
make_agglom_cols("species", with_query_name = FALSE)
#> [1] "domain" "phylum" "class" "order" "family" "genus" "species"