View source: R/postProcessing.R
plot_metabolite_counts | R Documentation |
Make bar plot of MIMOSA outcome counts in different metabolite categories
plot_metabolite_counts(
node_data,
variable,
threshold = "low",
prediction_colors = c("#1B9E77", "lightgrey", "#F46D43")
)
node_data |
Processed core MIMOSA results table |
variable |
Grouping variable for metabolites (must be a column name in node_data) |
threshold |
Whether to use the lower or higher significance threshold |
prediction_colors |
List of 3 colors to use as color scheme for Consistent, Contrasting, & Inconsistent metabolites |
plot object of MIMOSA outcome counts across specified metabolite categories plot_metabolite_counts(node_data, "Category")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.