KeggEnzymeConn: The connector class to KEGG Enzyme database.

KeggEnzymeConnR Documentation

The connector class to KEGG Enzyme database.

Description

The connector class to KEGG Enzyme database.

The connector class to KEGG Enzyme database.

Details

This is a concrete connector class. It must never be instantiated directly, but instead be instantiated through the factory BiodbFactory. Only specific methods are described here. See super classes for the description of inherited methods.

Super classes

biodb::BiodbConnBase -> biodb::BiodbConn -> biodbKegg::KeggConn -> KeggEnzymeConn

Methods

Public methods

Inherited methods

Method new()

New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.

Usage
KeggEnzymeConn$new(...)
Arguments
...

All parameters are passed to the super class initializer.

Returns

Nothing.


Method getPathwayIds()

Gets organism pathways. This method retrieves KEGG pathways of the specified organism in which the enzymes are involved.

Usage
KeggEnzymeConn$getPathwayIds(id, org)
Arguments
id

A character vector of KEGG Compound IDs.

org

The organism in which to search for pathways, as a KEGG organism code (3-4 letters code, like 'hsa', 'mmu', ...). See https //www.genome.jp/kegg/catalog/org_list.html for a complete list of KEGG organism codes.

Returns

A vector of KEGG pathway IDs.


Method clone()

The objects of this class are cloneable with this method.

Usage
KeggEnzymeConn$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

KeggConn.

Examples

# Create an instance with default settings:
mybiodb <- biodb::newInst()

# Get connector
conn <- mybiodb$getFactory()$createConn('kegg.enzyme')

# Get pathway IDs related to enzymes
pathway.ids=conn$getPathwayIds(c('1.2.1.3', '3.7.1.3'), org='mmu')

# Terminate instance.
mybiodb$terminate()


pkrog/biodbKegg documentation built on Oct. 1, 2022, 6:27 p.m.