View source: R/core_mimosa2_funcs.R
plot_contributions | R Documentation |
Plot species contributions for a single metabolite
plot_contributions(
varShares,
metabolite,
metIDcol = "metID",
include_zeros = F,
include_residual = F,
merge_threshold = 0.02,
spec_threshold = 10,
color_palette = NULL,
order_spec = T,
taxa_max = 15
)
varShares |
Dataset of contributions |
metabolite |
Compound to plot |
include_zeros |
Whether to plot taxa that do not have any contribution |
include_residual |
Whether to include the residual variation |
merge_threshold |
Threshold at which low-contributing species are merged into "other" |
spec_threshold |
Threshold number of minimum contributing species for merging into "other" to be applied |
color_palette |
Color palette to use for taxa in plot |
order_spec |
Whether to sort species by contribution size |
taxa_max |
If this compound has more than this many contributing taxa, only this number will be plotted |
plot of contributions
plot_contributions(varShares)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.