An R package for accessing HMDB online database, based on R package/framework biodb.
This extension package to biodb implements a connector to the HMDB database.
Install the latest stable version using Bioconductor:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install('biodbHmdb')
Searching for entries with multiple words inside the field "description":
mybiodb <- biodb::newInst()
conn <- mybiodb$getFactory()$createConn('hmdb.metabolites')
ids <- conn$searchForEntries(fields=list(description=c('milk', 'Oligosaccharide')))
See the introduction vignette:
vignette('biodbHmdb', package='biodbHmdb')
To get documentation on the implemented connector once inside R, run:
?biodbHmdb::HmdbMetabolitesConn
HMDB website: http://www.hmdb.ca.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.