taxBarPlot | R Documentation |
Visualize the amplicon data
taxBarPlot(otuTab, metaData, classToPlot, topNum, col, ...)
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 |
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.