knitr::opts_chunk$set( collapse = TRUE, comment = "#>", warning = FALSE, message = TRUE, out.width = "100%" )
Get the information of all compounds in KEGG (https://www.genome.jp/kegg/compound/).
library(massdatabase) compound_info <- request_kegg_compound_info() head(compound_info)
Get the information of all drugs in KEGG (https://www.genome.jp/kegg/drug/).
drug_info <- request_kegg_drug_info() head(drug_info)
Get one metabolite information.
x <- request_kegg_compound(compound_id = "C02886", return_form = "list") x
y <- request_kegg_compound(compound_id = "C02886", return_form = "data.frame") y
Get one drug information.
x <- request_kegg_drug(drug_id = "D00001", return_form = "list") x
y <- request_kegg_drug(drug_id = "D00001", return_form = "data.frame") y
sessionInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.