View source: R/taxa_core_graph.R
taxa_core_graph | R Documentation |
Inputs a phyloseq object and finds which taxa are seen in a given proportion of samples at a minimum relative abundance, either in the entire dataset, or by treatment, over a range of values. Then draws the distribution.
taxa_core_graph(phyloseq_obj, treatment = NULL, subset = NULL,
frequencies = seq(0.1, 1, 0.1), abundance_thresholds = seq(0.01, 1, 0.01),
colors = 'default',
treatment_labels = NULL, sample_labels = NULL, classification_labels= NULL)
phyloseq_obj |
A |
treatment |
Column name as a |
subset |
A factor within the |
frequencies |
The range of proportions of samples the taxa are found in. |
abundance_thresholds |
The range of minimum relative abundances the taxa are found in for each sample. |
colors |
Name of a color set from the RColorBrewer package or a vector palette of R-accepted colors. |
treatment_labels |
a vector of names to be used as labels for treatments/facets. |
sample_labels |
a vector of names to be used as labels for Samples. |
classification_labels |
a vector of names to be used as labels for the taxonomic classifications. |
phyloseq-object
taxa_core_graph(soil_column)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.