View source: R/plot_met_enrichment.R
plot_met_enrichment | R Documentation |
Plots metabolite enrichment score
plot_met_enrichment(df_metenrichment, metclass, enrich_stats, no)
df_metenrichment |
metenrichment score dataframe having metabolites, metabolite class and their enrichment score obtained from metclassenrichment |
metclass |
= sub_class, main_class or super_class |
enrich_stats |
HG for hypergeometric score ## leaves room for further including of KS stats |
no |
number of significant metabolites that should be in a class, default 1, should increase to 3 or more for a better statistically significant score. Default is chosen as 1 so as to get information on all the significant metabolites without any filtering. |
plot_met_enrichment(metenrichment, "sub_class","HG", no=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.