View source: R/metclassenrichment.R
metclassenrichment | R Documentation |
Provides enrichment score of the selected metabolic class via hypergeometric score
metclassenrichment(
df_metclass,
refmet_class,
metclass,
enrich_stats,
no,
debug = 0
)
df_metclass |
dataframe having significant metabolite with metabolite class and kegg ids |
refmet_class |
dataframe having all the metabolites in the study with refmet classification |
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 |
debug |
flag to indicate if run in debug mode better statistically significant score. Default is chosen as 1 so as to get information on all the significant metabolites without any filtering. |
metenrichment = metclassenrichment(df_metclass=sig_metabolites_kegg_id, refmet_class, metclass= "Sub class",enrich_stats="HG",no=1, debug = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.