phy_plotTaxon_boxplot: Boxplot of a taxon

View source: R/phy_plotTaxon_boxplot.R

phy_plotTaxon_boxplotR Documentation

Boxplot of a taxon

Description

Simply a wrapping function to quickly plot a taxon and fill the boxes by a variable

Usage

phy_plotTaxon_boxplot(physeq, y, x, fill, transform = NULL)

Arguments

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

Value

a ggplot2 object

Examples

data("enterotype")

phy_plotTaxon_boxplot(physeq = enterotype,
                     y = "Rikenella",
                     x = "Enterotype",
                     fill = "SeqTech",
                     transform = "clr")


g-antonello/gautils2 documentation built on Nov. 28, 2022, 9:39 a.m.