View source: R/phy_plotTaxon_boxplot.R
phy_plotTaxon_boxplot | R Documentation |
Simply a wrapping function to quickly plot a taxon and fill the boxes by a variable
phy_plotTaxon_boxplot(physeq, y, x, fill, transform = NULL)
physeq |
a phyloseq object |
y |
the name of the taxon you want to plot (y axis) |
x |
the name of the trait you want to plot (x axis) |
fill |
another variable you may want to fill your boxes by |
transform |
a transformation, all those in the phy_transform are allowed |
a ggplot2 object
data("enterotype")
phy_plotTaxon_boxplot(physeq = enterotype,
y = "Rikenella",
x = "Enterotype",
fill = "SeqTech",
transform = "clr")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.