View source: R/core_mimosa2_funcs.R
cmp_met_plot | R Documentation |
Plot CMP values vs metabolite concentrations for a single metabolite
cmp_met_plot(
cmp_table,
met_table,
mod_results = NULL,
sample_col = "Sample",
met_title = NULL
)
cmp_table |
Dataset of CMP scores (long format, can be species-specific or added already) for a single metabolite |
met_table |
Dataset of metabolite concentrations (long format) for a single metabolite |
mod_results |
Optional additional info on model comparison results |
sample_col |
Column name for sample column (shared between the tables) |
plot of contributions
cmp_met_plot(cmp_scores, mets_melt, mod_results = mods_out[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.