request_hmdb_metabolite | R Documentation |
Request one specific the metabolite information in HMDB
request_hmdb_metabolite(
url = "https://hmdb.ca/metabolites",
metabolite_id = "HMDB0000001",
return_form = c("list", "data.frame")
)
url |
Default is "https://hmdb.ca/metabolites". |
metabolite_id |
metabolite id. For example, HMDB0000001 |
return_form |
data.frame or list. |
A data frame or list.
Xiaotao Shen shenxt1990@outlook.com
x = request_hmdb_metabolite(metabolite_id = "HMDB0000001", return_form = "list")
x[1:2]
y = request_hmdb_metabolite(metabolite_id = "HMDB0000001", return_form = "data.frame")
head(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.