View source: R/phylogeny_profile.R
phylogeny_profile | R Documentation |
Inputs a phyloseq-class
object and
creates phylogenic barplots.
phylogeny_profile(phyloseq_obj, treatment = NULL, subset = NULL,
classification = NULL, merge = TRUE, relative_abundance = FALSE,
colors = 'default', grid = FALSE, treatment_labels = NULL,
sample_labels = NULL, classification_labels= NULL)
phyloseq_obj |
A |
treatment |
Column name as a string or number in the
|
subset |
A factor within the |
classification |
Column name as a string or number in the
|
merge |
if |
relative_abundance |
If |
colors |
Name of a color set from the RColorBrewer package or a vector palette of R-accepted colors. |
grid |
Wraps the sub-plots into a grid pattern rather than side-by-side. |
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. |
ggplot-object
phylogeny_profile(soil_column, classification = 'Phylum',
treatment = c('Matrix', 'Treatment'), merge = TRUE,
relative_abundance = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.