plotTaxaRaincloud.Rd
Creates a Raincloud plot
plotTaxaRaincloud(
x,
taxa = NULL,
group_samples_by = NULL,
opacity = 0.25,
shape_point = 21
)
phyloseq-class
object.
Feature to plot.
A column in sample_data
to compare abundances.
Alpha value.
Point shape.
a ggplot2
object.
A Rain Cloud plotting wrapper for phyloseq-class
object.
Shetty SA (2021). Data visualization for microbiome analytics. https://github.com/microsud/biomeViz
Scherer Cédric (2021). A Step-by-Step tutorial as supplement to my talk “ggplot Wizardry: My Favorite Tricks and Secrets for Beautiful Plot in R” at OutlierConf 2021. https://z3tt.github.io/OutlierConf2021/
library(biomeUtils)
library(biomeViz)
library(microbiome)
library(dplyr)
ps <- FuentesIliGutData %>%
microbiome::aggregate_taxa("Genus") %>%
microbiome::transform("compositional")
# Select taxa and group to compare
plotTaxaRaincloud(ps,
taxa ="Bacteroides",
group_samples_by = "ILI",
opacity = 0.25,
shape_point = 21)