View source: R/plotTopAbundant.R
plotTopAbundant | R Documentation |
Plot Top Abundant Taxa
plotTopAbundant(x, taxa_level = "Family", top = 10L, ...)
x |
|
taxa_level |
Taxonomic level at which features are selected. Abundances are summed up for each of the taxa at this level and then top are selected. |
top |
Numeric value, how many top |
... |
Options to pass ggplot2::geom_jitter() |
Plot the features with the highest abundance in all samples, at a user specific taxonomic level.
A ggplot2 object.
Sudarshan A. Shetty
Shetty SA (2021). Data visualization for microbiome analytics. https://github.com/microsud/biomeUtils
library(biomeUtils) library(biomeViz) p <- plotTopAbundant(SprockettTHData, taxa_level = "Family", top=10L, alpha = 0.25, shape = 124, color="black", fill = "black", size=3, width = 0.02) print(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.