plot_genus_by_phylum: Plot genus by phylum

Description Usage Arguments

View source: R/microbiome_helpers.R

Description

Bar plot of all the genera within a specified phylum.

Usage

1
2
plot_genus_by_phylum(physeq, phylum, x = "Sample", filter = NULL,
  facet_by_fam = FALSE, xlabel = NULL)

Arguments

physeq

A valid phyloseq object

phylum

character, the phylum to plot

x

character, the variable to plot on the x-axis, should be one of sample_variables(physeq). Note that if this is anything other than "Samples", the default, the mean abundance for each value will be plotted.

filter

numeric, top fraction of abundance to return

facet_by_fam

logical, facet by family, default is FALSE

xlabel

character, when plotting individual samples the variable to use for labels


mworkentine/mattsUtils documentation built on May 23, 2019, 11:58 a.m.