Description Usage Arguments Value
View source: R/taxonomy_level_functions.r
This function creates a list containing the entries for a higher taxonomic rank in relation to their low rank unique identifier (i.e. OTUs or ASVs). The taxonomic ranks can be specified and need to be present in 'tax_table()“ of the respective phyloseq object.
1 | create_taxonomy_lookup(phyloseq_object, taxonomic_ranks)
|
phyloseq_object |
the phyloseq object to extract the taxonomic information from |
taxonomic_ranks |
a character vector with taxa ranks e.g. from 'colnames(phyloseq::tax_table(phyloseq_object))' |
A list of vectors for each tax rank with the corresponding unique identifier as row name
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.