Description Usage Arguments Details Value
View source: R/microbiome_barplot.R
Create a bacterial composition data for a plot
1 2 3 4 5 6 7 8 | microbiome_bardata(
physeq,
level = c("Kingdom", "Phylum", "Class", "Order", "Family", "Genus", "Species"),
plot_category,
plot_percent = 10,
threshold = "max",
na_str = c("unidentified", "uncultured")
)
|
physeq |
phyloseq object |
level |
taxonomy level |
plot_category |
metadata category |
plot_percent |
threshold persent |
threshold |
the way of calculating threshold values |
na_str |
taxa name to be Undetermined |
Create a bacterial composition data using a specific threshold value.
barplot of microbiome composition as ggplot2 input data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.