taxBarPlot: Visualize the amplicon data

View source: R/taxBarPlot.R

taxBarPlotR Documentation

Visualize the amplicon data

Description

Visualize the amplicon data

Usage

taxBarPlot(otuTab, metaData, classToPlot, topNum, col, ...)

Arguments

otuTab

otu table of your sample

metaData

design file

classToPlot

which column you want to plot

topNum

top n taxa to plot

col

colour palette: including all the types of the "display.brewer.all()" in the RColorBrewer package

classToFacet

which class you want for facet, default none

legCol

column number of legend, default 2. If text is too long, suggestion is 1

Examples

otu_table_L2.txt <- system.file("extdata", "otu_table_L2.txt", package = "microVisu")
design.txt <- system.file("extdata", "design.txt", package = "microVisu")
taxBarPlot(otuTab = otu_table_L2.txt, metaData = design.txt,
classToPlot = "status", topNum = 10, col = "Set3", classToFacet = "knownseverity")

yjiakang/microVisu documentation built on July 19, 2023, 10:29 p.m.