Skip to contents

Visualize top differential taxa across samples.

Usage

plot_differential_heatmap(
  object,
  microbiome_data,
  top_n = 20,
  sample_annotation = NULL,
  relative = TRUE
)

Arguments

object

A differential_abundance_result object.

microbiome_data

A microbiome_dataset object.

top_n

Number of taxa displayed.

sample_annotation

Optional sample metadata columns.

relative

Whether to use relative abundance.

Value

A ComplexHeatmap::Heatmap object.