View source: R/plotCommunityStack.r
plotCommunityStack | R Documentation |
Function to produce a stacked bar chart of a phyllosphere community
plotCommunityStack(counts, level = "Phlass", taxLevels = NULL,
meta = NULL, cols = phlassColors, mode = "relative")
counts |
A count table in which the rows are strains or OTUs and the columns are samples. |
level |
Taxonomic level at which to summarise the community |
taxLevels |
Optional vector of taxonomic levels, in case you only want to plot some or reorder them |
meta |
Optional metadata that should be used to group samples |
cols |
A named vector of colors for the different taxonomic levels |
mode |
Either 'relative' or 'absolute' for calculating abundance |
None.
Chris Field <fieldc@ethz.ch>
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.