View source: R/data_refinement.R
collapse_taxonomy | R Documentation |
Given a phyloseq object with a taxonomy table, this function extracts the taxonomy of each OTU and collapse the result into a single string
collapse_taxonomy(phyloseq)
phyloseq |
A |
A named character vector, where the names are the OTU names and the values are the collapsed taxonomies.
library(micInt) collapsed <- collapse_taxonomy(seawater) collapsed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.