ceabiodb / biodbKegg

A biodb extension package for KEGG databases.
GNU Affero General Public License v3.0
2 stars 0 forks source link
biodb kegg kegg-databases

biodbKegg

Codecov test coverage

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

Introduction

biodbKegg is an an extension package of the biodb package. It allows to connect to KEGG for retrieving entries, searching for entries by name or mass, and searching for pathways related to compounds. It implements biodb connectors for the following KEGG databases:

Examples

Getting a single entry:

bdb <- boidb::newInst()
kegg <- bdb$getFactory()$createConn('kegg.compound')
entries <- kegg$getEntry(c('C00133', 'C00751'))
bdb$entriesToDataframe(entries)

Search by mass:

ids <- kegg$searchForEntries(list(monoisotopic.mass=list(value=64, delta=2.0)),
    max.results=10)

Installation

Install the latest stable version using Bioconductor:

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

Documentation

See the introduction vignette:

vignette('biodbKegg', package='biodbKegg')

Citations