Microbiome.Barplot: Microbiome.Barplot.R

Description Usage Arguments Value

Description

Uses ggplot2 to create a stacked barplot, for example on phylum level abundances. The most abundant features (defaults to 10, based on rowMeans) will be plotted unless user specified. Anything of over 10 features will use default coloring which may be very difficult to interpret.

Usage

1
Microbiome.Barplot(table,metadata,10, "group")

Arguments

FEATURES

Table of feature/OTU/SV counts where Samples are columns, and IDs are row names

METADATA

A Table of metadata where sample names are row names.

NTOPLOT

A number of features to plot.

CATEGORY

A Metadata category to block samples by (faceting via ggplot2)

Value

Barplot


jbisanz/MicrobeR documentation built on June 5, 2019, 7:53 p.m.