View source: R/label_duplicate_taxa.R
label_duplicate_taxa | R Documentation |
This function takes a phyloseq object and adds a label (<id>
) to ASVs with the same
taxonomic annotation (<tax>
). The label is either the ASV name (taken from row.names)
or the count of each duplicated taxon.
label_duplicate_taxa(
ps_obj,
tax_level,
asv_as_id = F,
duplicate_label = "<tax> <id>"
)
ps_obj |
Phyloseq object |
tax_level |
The taxonomic level at which to identify duplicates. |
asv_as_id |
use ASVs as ids, rather than counts? |
duplicate_label |
String that specifies how to construct the label. Must
contain at least |
A phyloseq object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.