View source: R/plotCommunityPie.r
plotCommunityPie | R Documentation |
Function to produce a pie chart of an individual community.
plotCommunityPie(counts, level = "Phlass", cols = phlassColors)
counts |
A count table in which the rows are strains or OTUs and the columns are samples. The table should include only a single sample group. |
level |
The taxonomic level at which the data will be summarised |
cols |
A vector of colours where the names() of the vector correspond to the taxonomic labels. |
For each taxon at the chosen level, the sum of all counts for the strains in that taxon across all samples is divided by the total sum of the count table.
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.