R/relabu_boxplot.R
relabu_boxplot.Rd
Plot boxplots comparing different organism prevalence across conditions
A multi-assay experiment object
The taxon level used for organisms
Compare groups by condition e.g. 'SEX'
Include organisms for plotting.
counts, relative abundance,logcpm
A plotly object
data_dir <- system.file("extdata/MAE.rds", package = "animalcules")
toy_data <- readRDS(data_dir)
p <- relabu_boxplot(toy_data,
tax_level = "genus",
organisms = c("Escherichia", "Actinomyces"),
condition = "SEX",
datatype = "logcpm"
)
#> Using Row.names, SEX as id variables
p