Description Usage Arguments Value Examples
View source: R/plot_taxa_boxplot.R
Plot taxon abundance for samples.
1 | plot_taxa_boxplot(x, taxonomic.level, top.otu, VariableA, title, color = NULL)
|
x |
|
taxonomic.level |
Merge the OTUs (for phyloseq object) into a higher taxonomic level. This has to be one from colnames(tax_table(x)). |
top.otu |
Top number of taxa to plot. |
VariableA |
Specify main variable of interest. This should be one of the variables in sample_variables(x). |
title |
title for the plot |
color |
any of the palette supported by ggpubr/RColorBrewer packages or user specified as c("red", "blue"). |
A ggplot
plot object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.