HmdbMetabolitesConn: The connector class for the HMDB Metabolites database.

HmdbMetabolitesConnR Documentation

The connector class for the HMDB Metabolites database.

Description

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 -> HmdbMetabolitesConn

Methods

Public methods

Inherited methods

Method clone()

The objects of this class are cloneable with this method.

Usage
HmdbMetabolitesConn$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

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

# Create a connector
conn <- mybiodb$getFactory()$createConn('hmdb.metabolites')

# Get an entry
 # Getting one entry requires the download of the whole database.
e <- conn$getEntry('HMDB0000001')


# Terminate instance.
mybiodb$terminate()


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