ASVtoTaxa: Translate ASV Numbers to Taxa Names

View source: R/ASVtoTaxa.R

ASVtoTaxaR Documentation

Translate ASV Numbers to Taxa Names

Description

Translate ASV Numbers to Taxa Names

Usage

ASVtoTaxa(taxa_data, asvlist, taxa_rank = NULL, uniqueOnly = F)

Arguments

taxa_data

Taxonomy data (list object) from a dataset containing asv-taxonomy reference table.

asvlist

List of ASV numbers to look up in taxa_data.

taxa_rank

(Optional) The desired rank at which to look up ASV numbers. Will default to the active rank if not specified.

uniqueOnly

(Optional) If multiple taxa map to the same parent taxon, only return the name of that parent taxon once. Default is FALSE

Value

List of taxa corresponding to the ASVs in the same order.


microresearcher/MicroVis documentation built on Feb. 8, 2024, 10:59 a.m.