build_taxa.barplot: Build summary taxa barplots from network abundance data

View source: R/build_taxa_barplot.R

build_taxa.barplotR Documentation

Build summary taxa barplots from network abundance data

Description

Build summary taxa barplots from network abundance data

Usage

build_taxa.barplot(
  plotdata,
  tax.level,
  dendrogram,
  fill.by = "phylum",
  interactive = TRUE,
  out.dr,
  metadata.cols,
  other.variable
)

Arguments

plotdata

Output from ebc_compositions

tax.level

Taxonomic level

dendrogram

Output from build_dendrograms

fill.by

Fill option for summary barplot. Can be one of "phylum" (to fill by phylum abundance), "ebc" (to fill by edge between cluster abundance), or "grouping" (to fill by family-level functional groupings). "grouping" is only available for family-level and below.

interactive

If TRUE, plot exported as interactive HTML file. If FALSE, plot exported as PDF. Default = TRUE.

out.dr

Output directory

other.variable

mselensky/bngal documentation built on June 3, 2024, 6:27 a.m.