abundance_plot: Abundance Plot

abundance_plotR Documentation

Abundance Plot

Description

Abundance Plot

Usage

abundance_plot(
  phylo,
  x,
  taxlev = "Family",
  orderbar = "",
  facetby = "Description",
  ntaxa = 14,
  bar.params = list(),
  facet.params = list(),
  ...
)

Arguments

phylo

Phyloseq object

x

String Variable for x axis

taxlev

String Taxonomic Level

orderbar

String. Numeric Variable of sample_data. The Bars will be ordered in respect to the values

facetby

String Variable the plot should be faceted by

ntaxa

Integer number of taxa which should be displayed

bar.params

Additional parameters for the geom_bar plot

facet.params

Additional parameters for facet_wrap

...

Value

ggplot

Examples

data("mice_B6_N")
abundance_plot(mice_B6_N, "Microbiota")

ericjcgalvez/MicrobiomeWrangler documentation built on April 14, 2022, 6:33 p.m.