View source: R/otu_to_taxonomy.R
otu_to_taxonomy | R Documentation |
Transform OTUs to their taxonomic label
otu_to_taxonomy(OTU, data, level = NULL)
OTU |
String vector. Names of OTU labels in |
data |
|
level |
(Optional). Character vector. Desired taxonomic levels for output. |
String vector. Names of taxonomic labels matching labels of OTU
.
data(soil_phylum_small)
da_analysis <- differentialTest(formula = ~ DayAmdmt,
phi.formula = ~ DayAmdmt,
formula_null = ~ 1,
phi.formula_null = ~ DayAmdmt,
test = "Wald", boot = FALSE,
data = soil_phylum_small,
fdr_cutoff = 0.05)
otu_to_taxonomy(OTU = da_analysis$significant_taxa, data = soil_phylum_small,
level = "Phylum")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.