Skip to content

04. plot_taxa_boxplot

Sudarshan edited this page Mar 10, 2018 · 1 revision

Boxplot

This is a convenience wrapper function for plotting of top taxa of interest.


library(tibble)
library(microbiomeutilities)
data("biogeogut") # load data
ps0 <- biogeogut
ps0.rel <- transform(ps0, "compositional") # convert counts to relative abundance

pn <- plot_taxa_boxplot(ps0.rel, "Genus", 10, "SampleType", color = "Set2", "Relative abundance of top 10 genera")
pn

octocat

Clone this wiki locally