knitr::opts_chunk$set( collapse = TRUE, comment = "#>", out.width = "100%" )
library(metPath)
data("hmdb_pathway", package = "metPath") hmdb_pathway
get_pathway_class(hmdb_pathway)
We use the demo compound list from metPath
.
data("query_id_hmdb", package = "metPath") query_id_hmdb
result = enrich_hmdb(query_id = query_id_hmdb, query_type = "compound", id_type = "HMDB", pathway_database = hmdb_pathway, only_primary_pathway = TRUE, p_cutoff = 0.05, p_adjust_method = "BH", threads = 3)
Check the result:
result
enrich_bar_plot( object = result, x_axis = "p_value_adjust", cutoff = 0.05, top = 10 )
enrich_scatter_plot(object = result)
enrich_network(object = result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.