Skip to contents

Draw grouped boxplots for top differential taxa.

Usage

plot_differential_boxplot(
  object,
  microbiome_data,
  x = "sample_id",
  top_n = 12,
  relative = TRUE
)

Arguments

object

A differential_abundance_result object.

microbiome_data

A microbiome_dataset object.

x

Sample metadata column shown on the x axis.

top_n

Number of taxa displayed.

relative

Whether to use relative abundance.

Value

A ggplot object.