PlotTaxaAbundanceArea | R Documentation |
This functions plots the functional annotation summary.
PlotTaxaAbundanceArea(
mbSetObj,
barplotName,
viewOpt,
taxalvl,
metadata,
feat_cnt,
colpalopt,
calcmeth,
toptaxa,
abunTopTaxaOpt,
appendnm = FALSE,
format = "png",
dpi = 72
)
mbSetObj |
Input the name of the mbSetObj. |
barplotName |
Character, input the name of the barplot. |
viewOpt |
Character. |
taxalvl |
Character, input the taxonomic level to perform classification. For instance, "Genus" to use the Genus level. |
metadata |
If users wish to merge samples to groups in the stacked bar plot, set this to the preferred grouping. |
feat_cnt |
Set the minimum feature count that is used to "bin" together small taxa. |
colpalopt |
Select the color palette options. "set3", which is the Set3 from the R Color Brewer, "cont21" which is a set of 21 colors, "cont28" which is a set of 28 colors, and "cont42" which is a set of 42 colors. For users who wish to use a color palette robust to colorblindness /(https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html/), use "viridis", "magma", "plasma", or "inferno". |
calcmeth |
Merge small taxa based on the sum /("sum"/) or median /("med"/) counts across all samples or groups. |
format |
Character, input the preferred format of the plot. By default it is set to "png". |
dpi |
Numeric, input the dots per inch. By default it is set to 72. |
Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.