create_taxonomy_lookup: Creates a dictionary list to translate taxonomic ranks.

Description Usage Arguments Value

View source: R/taxonomy_level_functions.r

Description

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.

Usage

1
create_taxonomy_lookup(phyloseq_object, taxonomic_ranks)

Arguments

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))'

Value

A list of vectors for each tax rank with the corresponding unique identifier as row name


RJ333/phyloseq2ML documentation built on June 2, 2020, 9:25 p.m.