README.md

biodbHmdb

Codecov test coverage

An R package for accessing HMDB online database, based on R package/framework biodb.

Introduction

This extension package to biodb implements a connector to the HMDB database.

Installation

Install the latest stable version using Bioconductor:

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install('biodbHmdb')

Examples

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')))

Documentation

See the introduction vignette:

vignette('biodbHmdb', package='biodbHmdb')

To get documentation on the implemented connector once inside R, run:

?biodbHmdb::HmdbMetabolitesConn

Citations

HMDB website: http://www.hmdb.ca.



pkrog/biodbHmdb documentation built on Jan. 11, 2023, 4:09 a.m.