Title: | biodbKegg, a library for connecting to the KEGG Database |
---|---|
Description: | The biodbKegg library is an extension of the biodb framework package that provides access to the KEGG databases Compound, Enzyme, Genes, Module, Orthology and Reaction. It allows to retrieve entries by their accession numbers. Web services like "find", "list" and "findExactMass" are also available. Some functions for navigating along the pathways have also been implemented. |
Authors: | Pierrick Roger [aut, cre] |
Maintainer: | Pierrick Roger <[email protected]> |
License: | AGPL-3 |
Version: | 1.11.0 |
Built: | 2024-07-13 05:21:35 UTC |
Source: | https://github.com/bioc/biodbKegg |
A class for representing a circle.
A class for representing a circle.
This class represents a rectangle, used for graphical representation. It is used by KeggPathwayConn::extractPathwayMapShapes() method.
Arguments to the constructor are:
x: X coordinate of center.
y: Y coordinate of center.
r: Radius.
biodbKegg::KeggShape
-> KeggCircle
new()
Initialize new instance.
KeggCircle$new(x, y, r, ...)
x
Abscissa of the circle's center.
y
Ordinate of the circle's center.
r
Radius of the circle.
...
Additional parameters are passed to super class' initializer.
Nothing.
getX()
Get the X coordinate.
KeggCircle$getX()
The X coordinate.
getY()
Get the Y coordinate.
KeggCircle$getY()
The Y coordinate.
getRadius()
Get the radius.
KeggCircle$getRadius()
The radius.
clone()
The objects of this class are cloneable with this method.
KeggCircle$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance c1 <- KeggCircle$new(x=12, y=5, r=3) # Since it inherits from KeggShape, a color and a label can be set c2 <- KeggCircle$new(x=12, y=5, r=3, color='blue', label='Circle 2') # Getting center c1$getX() c1$getY() # Getting radius c1#getRadius() # Draw a circle on the current image c1$draw()
# Create an instance c1 <- KeggCircle$new(x=12, y=5, r=3) # Since it inherits from KeggShape, a color and a label can be set c2 <- KeggCircle$new(x=12, y=5, r=3, color='blue', label='Circle 2') # Getting center c1$getX() c1$getY() # Getting radius c1#getRadius() # Draw a circle on the current image c1$draw()
The connector class to KEGG Compound database.
The connector class to KEGG Compound database.
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.
biodb::BiodbConnBase
-> biodb::BiodbConn
-> biodbKegg::KeggConn
-> KeggCompoundConn
biodb::BiodbConnBase$getBaseUrl()
biodb::BiodbConnBase$getConnClass()
biodb::BiodbConnBase$getConnClassName()
biodb::BiodbConnBase$getDbClass()
biodb::BiodbConnBase$getEntryClass()
biodb::BiodbConnBase$getEntryClassName()
biodb::BiodbConnBase$getEntryContentType()
biodb::BiodbConnBase$getEntryFileExt()
biodb::BiodbConnBase$getEntryIdField()
biodb::BiodbConnBase$getName()
biodb::BiodbConnBase$getPropSlots()
biodb::BiodbConnBase$getPropValSlot()
biodb::BiodbConnBase$getPropertyValue()
biodb::BiodbConnBase$getSchedulerNParam()
biodb::BiodbConnBase$getSchedulerTParam()
biodb::BiodbConnBase$getToken()
biodb::BiodbConnBase$getUrl()
biodb::BiodbConnBase$getUrls()
biodb::BiodbConnBase$getWsUrl()
biodb::BiodbConnBase$getXmlNs()
biodb::BiodbConnBase$hasProp()
biodb::BiodbConnBase$hasPropSlot()
biodb::BiodbConnBase$isSlotProp()
biodb::BiodbConnBase$propExists()
biodb::BiodbConnBase$setBaseUrl()
biodb::BiodbConnBase$setPropValSlot()
biodb::BiodbConnBase$setPropertyValue()
biodb::BiodbConnBase$setSchedulerNParam()
biodb::BiodbConnBase$setSchedulerTParam()
biodb::BiodbConnBase$setToken()
biodb::BiodbConnBase$setUrl()
biodb::BiodbConnBase$setWsUrl()
biodb::BiodbConnBase$updatePropertiesDefinition()
biodb::BiodbConn$addNewEntry()
biodb::BiodbConn$allowEditing()
biodb::BiodbConn$allowWriting()
biodb::BiodbConn$annotateMzValues()
biodb::BiodbConn$checkDb()
biodb::BiodbConn$collapseResultsDataFrame()
biodb::BiodbConn$correctIds()
biodb::BiodbConn$deleteAllCacheEntries()
biodb::BiodbConn$deleteAllEntriesFromPersistentCache()
biodb::BiodbConn$deleteAllEntriesFromVolatileCache()
biodb::BiodbConn$deleteWholePersistentCache()
biodb::BiodbConn$disallowEditing()
biodb::BiodbConn$disallowWriting()
biodb::BiodbConn$download()
biodb::BiodbConn$editingIsAllowed()
biodb::BiodbConn$filterEntriesOnRt()
biodb::BiodbConn$getAllCacheEntries()
biodb::BiodbConn$getAllVolatileCacheEntries()
biodb::BiodbConn$getBiodb()
biodb::BiodbConn$getCacheFile()
biodb::BiodbConn$getCacheId()
biodb::BiodbConn$getChromCol()
biodb::BiodbConn$getDownloadPath()
biodb::BiodbConn$getEntry()
biodb::BiodbConn$getEntryContent()
biodb::BiodbConn$getEntryContentFromDb()
biodb::BiodbConn$getEntryContentRequest()
biodb::BiodbConn$getEntryIds()
biodb::BiodbConn$getEntryImageUrl()
biodb::BiodbConn$getEntryPageUrl()
biodb::BiodbConn$getId()
biodb::BiodbConn$getMatchingMzField()
biodb::BiodbConn$getMzValues()
biodb::BiodbConn$getNbEntries()
biodb::BiodbConn$getNbPeaks()
biodb::BiodbConn$getSearchableFields()
biodb::BiodbConn$isCompounddb()
biodb::BiodbConn$isDownloadable()
biodb::BiodbConn$isDownloaded()
biodb::BiodbConn$isEditable()
biodb::BiodbConn$isExtracted()
biodb::BiodbConn$isMassdb()
biodb::BiodbConn$isRemotedb()
biodb::BiodbConn$isSearchableByField()
biodb::BiodbConn$isWritable()
biodb::BiodbConn$makeRequest()
biodb::BiodbConn$makesRefToEntry()
biodb::BiodbConn$msmsSearch()
biodb::BiodbConn$print()
biodb::BiodbConn$requiresDownload()
biodb::BiodbConn$searchByName()
biodb::BiodbConn$searchCompound()
biodb::BiodbConn$searchForEntries()
biodb::BiodbConn$searchForMassSpectra()
biodb::BiodbConn$searchMsEntries()
biodb::BiodbConn$searchMsPeaks()
biodb::BiodbConn$searchMzRange()
biodb::BiodbConn$searchMzTol()
biodb::BiodbConn$setDownloadedFile()
biodb::BiodbConn$setEditingAllowed()
biodb::BiodbConn$setMatchingMzField()
biodb::BiodbConn$setWritingAllowed()
biodb::BiodbConn$write()
biodb::BiodbConn$writingIsAllowed()
biodbKegg::KeggConn$wsFind()
biodbKegg::KeggConn$wsList()
new()
New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.
KeggCompoundConn$new(...)
...
All parameters are passed to the super class initializer.
Nothing.
wsFindExactMass()
Searches for entries by mass. You must either provide a single mass through 'mass' parameter or provide a range through 'mass.min' and 'mass.max'.
KeggCompoundConn$wsFindExactMass( mass = NULL, mass.min = NULL, mass.max = NULL, ... )
mass
Single mass.
mass.min
Minimal mass.
mass.max
Maximal mass.
...
parameters passed to KeggConn::wsFind().
See
http //www.kegg.jp/kegg/docs/keggapi.html for details.
wsFind().
wsFindMolecularWeight()
Searches for entries by molecular mass. You must either provide a single mass through 'mass' parameter or provide a range through 'mass.min' and 'mass.max'. See http //www.kegg.jp/kegg/docs/keggapi.html for details.
KeggCompoundConn$wsFindMolecularWeight( mass = NULL, mass.min = NULL, mass.max = NULL, ... )
mass
Single mass.
mass.min
Minimal mass.
mass.max
Maximal mass.
...
Parameters passed to KeggConn::wsFind().
wsFind().
getPathwayIdsPerCompound()
Gets organism pathways for each compound. This method retrieves for each compound the KEGG pathways of the organism in which the compound is involved.
KeggCompoundConn$getPathwayIdsPerCompound(id, org, limit = 3)
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.
limit
The maximum number of modules IDs to retrieve for each compound. Set to 0 to disable.
A named list of KEGG pathway ID vectors, where the names of the list are the compound IDs."
getModuleIdsPerCompound()
Gets organism modules for each compound. This method retrieves for each compound the KEGG modules of the organism in which the compound is involved.
KeggCompoundConn$getModuleIdsPerCompound(id, org, limit = 3)
id
A character vector of KEGG Compound IDs.
org
The organism in which to search for modules, 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.
limit
The maximum number of modules IDs to retrieve for each compound. Set to 0 to disable.
A named list of KEGG module ID vectors, where the names of the list are the compound IDs."
getPathwayIds()
Gets organism pathways. This method retrieves KEGG pathways of the specified organism in which the compounds are involved.
KeggCompoundConn$getPathwayIds(id, org)
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.
A vector of KEGG pathway IDs.
addInfo()
Add informations (as new column appended to the end) to an existing data frame containing a column of KEGG Compound IDs.
KeggCompoundConn$addInfo(x, id.col, org, limit = 3, prefix = "")
x
A data frame containing at least one column with Biodb entry IDs identified by the parameter 'id.col'.
id.col
The name of the column containing IDs inside the input data frame.
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.
limit
This is the maximum number of values obtained for each ID, for every column added, in case multiple values are obtained. Set to 0 to get all values.
prefix
Insert a prefix at the start of name of all new columns.
A data frame containing 'x' and new columns appended with KEGG identifiers and data.
clone()
The objects of this class are cloneable with this method.
KeggCompoundConn$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector to KEGG Compound conn <- mybiodb$getFactory()$createConn('kegg.compound') # Search for compounds by exact mass conn$wsFindExactMass(mass=174.05, retfmt='parsed') # Search for compounds by molecular weight conn$wsFindMolecularWeight(mass=300, retfmt='parsed') # Get pathway IDs related to compounds pathway.ids=conn$getPathwayIds(c('C02648', 'C06144'), org='mmu') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector to KEGG Compound conn <- mybiodb$getFactory()$createConn('kegg.compound') # Search for compounds by exact mass conn$wsFindExactMass(mass=174.05, retfmt='parsed') # Search for compounds by molecular weight conn$wsFindMolecularWeight(mass=300, retfmt='parsed') # Get pathway IDs related to compounds pathway.ids=conn$getPathwayIds(c('C02648', 'C06144'), org='mmu') # Terminate instance. mybiodb$terminate()
This is the entry class for the KEGG Compound database.
biodb::BiodbEntry
-> biodb::BiodbTxtEntry
-> biodbKegg::KeggEntry
-> KeggCompoundEntry
biodb::BiodbEntry$appendFieldValue()
biodb::BiodbEntry$cloneInstance()
biodb::BiodbEntry$computeFields()
biodb::BiodbEntry$fieldHasBasicClass()
biodb::BiodbEntry$getBiodb()
biodb::BiodbEntry$getDbClass()
biodb::BiodbEntry$getField()
biodb::BiodbEntry$getFieldCardinality()
biodb::BiodbEntry$getFieldClass()
biodb::BiodbEntry$getFieldDef()
biodb::BiodbEntry$getFieldNames()
biodb::BiodbEntry$getFieldValue()
biodb::BiodbEntry$getFieldsAsDataframe()
biodb::BiodbEntry$getFieldsAsJson()
biodb::BiodbEntry$getFieldsByType()
biodb::BiodbEntry$getId()
biodb::BiodbEntry$getName()
biodb::BiodbEntry$getParent()
biodb::BiodbEntry$hasField()
biodb::BiodbEntry$isNew()
biodb::BiodbEntry$makesRefToEntry()
biodb::BiodbEntry$parentIsAConnector()
biodb::BiodbEntry$parseContent()
biodb::BiodbEntry$print()
biodb::BiodbEntry$removeField()
biodb::BiodbEntry$setField()
biodb::BiodbEntry$setFieldValue()
biodb::BiodbTxtEntry$initialize()
clone()
The objects of this class are cloneable with this method.
KeggCompoundEntry$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.compound') # Get an entry e <- conn$getEntry('C00133') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.compound') # Get an entry e <- conn$getEntry('C00133') # Terminate instance. mybiodb$terminate()
The connector abstract class to KEGG databases.
The connector abstract class to KEGG databases.
This is the mother class of all KEGG connectors. It defines code common to all KEGG connectors.
The constructor accepts the following arguments:
db.name: The database name as defined in http://www.kegg.jp/kegg/docs/keggapi.html.
db.abbrev: The database abbreviated name, as defined in http://www.kegg.jp/kegg/docs/keggapi.html.
biodb::BiodbConnBase
-> biodb::BiodbConn
-> KeggConn
biodb::BiodbConnBase$getBaseUrl()
biodb::BiodbConnBase$getConnClass()
biodb::BiodbConnBase$getConnClassName()
biodb::BiodbConnBase$getDbClass()
biodb::BiodbConnBase$getEntryClass()
biodb::BiodbConnBase$getEntryClassName()
biodb::BiodbConnBase$getEntryContentType()
biodb::BiodbConnBase$getEntryFileExt()
biodb::BiodbConnBase$getEntryIdField()
biodb::BiodbConnBase$getName()
biodb::BiodbConnBase$getPropSlots()
biodb::BiodbConnBase$getPropValSlot()
biodb::BiodbConnBase$getPropertyValue()
biodb::BiodbConnBase$getSchedulerNParam()
biodb::BiodbConnBase$getSchedulerTParam()
biodb::BiodbConnBase$getToken()
biodb::BiodbConnBase$getUrl()
biodb::BiodbConnBase$getUrls()
biodb::BiodbConnBase$getWsUrl()
biodb::BiodbConnBase$getXmlNs()
biodb::BiodbConnBase$hasProp()
biodb::BiodbConnBase$hasPropSlot()
biodb::BiodbConnBase$isSlotProp()
biodb::BiodbConnBase$propExists()
biodb::BiodbConnBase$setBaseUrl()
biodb::BiodbConnBase$setPropValSlot()
biodb::BiodbConnBase$setPropertyValue()
biodb::BiodbConnBase$setSchedulerNParam()
biodb::BiodbConnBase$setSchedulerTParam()
biodb::BiodbConnBase$setToken()
biodb::BiodbConnBase$setUrl()
biodb::BiodbConnBase$setWsUrl()
biodb::BiodbConnBase$updatePropertiesDefinition()
biodb::BiodbConn$addNewEntry()
biodb::BiodbConn$allowEditing()
biodb::BiodbConn$allowWriting()
biodb::BiodbConn$annotateMzValues()
biodb::BiodbConn$checkDb()
biodb::BiodbConn$collapseResultsDataFrame()
biodb::BiodbConn$correctIds()
biodb::BiodbConn$deleteAllCacheEntries()
biodb::BiodbConn$deleteAllEntriesFromPersistentCache()
biodb::BiodbConn$deleteAllEntriesFromVolatileCache()
biodb::BiodbConn$deleteWholePersistentCache()
biodb::BiodbConn$disallowEditing()
biodb::BiodbConn$disallowWriting()
biodb::BiodbConn$download()
biodb::BiodbConn$editingIsAllowed()
biodb::BiodbConn$filterEntriesOnRt()
biodb::BiodbConn$getAllCacheEntries()
biodb::BiodbConn$getAllVolatileCacheEntries()
biodb::BiodbConn$getBiodb()
biodb::BiodbConn$getCacheFile()
biodb::BiodbConn$getCacheId()
biodb::BiodbConn$getChromCol()
biodb::BiodbConn$getDownloadPath()
biodb::BiodbConn$getEntry()
biodb::BiodbConn$getEntryContent()
biodb::BiodbConn$getEntryContentFromDb()
biodb::BiodbConn$getEntryContentRequest()
biodb::BiodbConn$getEntryIds()
biodb::BiodbConn$getEntryImageUrl()
biodb::BiodbConn$getEntryPageUrl()
biodb::BiodbConn$getId()
biodb::BiodbConn$getMatchingMzField()
biodb::BiodbConn$getMzValues()
biodb::BiodbConn$getNbEntries()
biodb::BiodbConn$getNbPeaks()
biodb::BiodbConn$getSearchableFields()
biodb::BiodbConn$isCompounddb()
biodb::BiodbConn$isDownloadable()
biodb::BiodbConn$isDownloaded()
biodb::BiodbConn$isEditable()
biodb::BiodbConn$isExtracted()
biodb::BiodbConn$isMassdb()
biodb::BiodbConn$isRemotedb()
biodb::BiodbConn$isSearchableByField()
biodb::BiodbConn$isWritable()
biodb::BiodbConn$makeRequest()
biodb::BiodbConn$makesRefToEntry()
biodb::BiodbConn$msmsSearch()
biodb::BiodbConn$print()
biodb::BiodbConn$requiresDownload()
biodb::BiodbConn$searchByName()
biodb::BiodbConn$searchCompound()
biodb::BiodbConn$searchForEntries()
biodb::BiodbConn$searchForMassSpectra()
biodb::BiodbConn$searchMsEntries()
biodb::BiodbConn$searchMsPeaks()
biodb::BiodbConn$searchMzRange()
biodb::BiodbConn$searchMzTol()
biodb::BiodbConn$setDownloadedFile()
biodb::BiodbConn$setEditingAllowed()
biodb::BiodbConn$setMatchingMzField()
biodb::BiodbConn$setWritingAllowed()
biodb::BiodbConn$write()
biodb::BiodbConn$writingIsAllowed()
new()
New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class. The parameters of this function are for the use of subclasses.
KeggConn$new( db.name = NA_character_, db.abbrev = NA_character_, accession.prefix = NA_character_, ... )
db.name
The database name as defined in www.kegg.jp/kegg/docs/keggapi.html.
db.abbrev
The database abbreviation as defined in www.kegg.jp/kegg/docs/keggapi.html.
accession.prefix
The prefix used for accession identifiers.
...
All parameters are passed to the super class initializer.
Nothing.
wsList()
Gets the full list of entry IDs. See
KeggConn$wsList(retfmt = c("plain", "request", "ids"))
retfmt
Use to set the format of the returned value. 'plain' will return the raw result from the server, as a character value. 'request' will return the request as it would have been sent, as a BiodbRequest object. 'ids' will return a character vector containing entry IDs.
http
//www.kegg.jp/kegg/docs/keggapi.html for details.
Depending on 'retfmt'.
wsFind()
Searches for entries. See http://www.kegg.jp/kegg/docs/keggapi.html for details.
KeggConn$wsFind( query, option = c("NONE", "formula", "exact_mass", "mol_weight", "nop"), retfmt = c("plain", "request", "parsed", "ids", "ids.no.prefix") )
query
The query to send to the database web service. When searching by mass (i.e. 'option' parameter set to either 'exact_mass' or 'mol_weight'), this query field must be set to either an exact (i.e. 174.05) or a range (i.e. '250-260').
option
Set this parameter to 'NONE' for querying on fields 'ENTRY', 'NAME', 'DESCRIPTION', 'COMPOSITION', 'DEFINITION' and 'ORTHOLOGY'. See http //www.kegg.jp/kegg/docs/keggapi.html for an exact list of fields that are searched for each database, and also for other possible values of this 'option' paramater.
retfmt
Use to set the format of the returned value. 'plain' will return the raw result from the server, as a character value. 'request' will return the request as it would have been sent, as a BiodbRequest object. 'parsed' will return a data frame. 'ids' will return a character vector containing the IDs of the matching entries.
Depending on 'retfmt'.
clone()
The objects of this class are cloneable with this method.
KeggConn$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector to a KEGG database conn <- mybiodb$getFactory()$createConn('kegg.compound') # Search for an entry conn$wsFind('NADPH', retfmt='parsed') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector to a KEGG database conn <- mybiodb$getFactory()$createConn('kegg.compound') # Search for an entry conn$wsFind('NADPH', retfmt='parsed') # Terminate instance. mybiodb$terminate()
This is the abstract entry class for all KEGG entry classes.
biodb::BiodbEntry
-> biodb::BiodbTxtEntry
-> KeggEntry
biodb::BiodbEntry$appendFieldValue()
biodb::BiodbEntry$cloneInstance()
biodb::BiodbEntry$computeFields()
biodb::BiodbEntry$fieldHasBasicClass()
biodb::BiodbEntry$getBiodb()
biodb::BiodbEntry$getDbClass()
biodb::BiodbEntry$getField()
biodb::BiodbEntry$getFieldCardinality()
biodb::BiodbEntry$getFieldClass()
biodb::BiodbEntry$getFieldDef()
biodb::BiodbEntry$getFieldNames()
biodb::BiodbEntry$getFieldValue()
biodb::BiodbEntry$getFieldsAsDataframe()
biodb::BiodbEntry$getFieldsAsJson()
biodb::BiodbEntry$getFieldsByType()
biodb::BiodbEntry$getId()
biodb::BiodbEntry$getName()
biodb::BiodbEntry$getParent()
biodb::BiodbEntry$hasField()
biodb::BiodbEntry$isNew()
biodb::BiodbEntry$makesRefToEntry()
biodb::BiodbEntry$parentIsAConnector()
biodb::BiodbEntry$parseContent()
biodb::BiodbEntry$print()
biodb::BiodbEntry$removeField()
biodb::BiodbEntry$setField()
biodb::BiodbEntry$setFieldValue()
biodb::BiodbTxtEntry$initialize()
clone()
The objects of this class are cloneable with this method.
KeggEntry$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.compound') # Get an entry e <- conn$getEntry('C00133') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.compound') # Get an entry e <- conn$getEntry('C00133') # Terminate instance. mybiodb$terminate()
The connector class to KEGG Enzyme database.
The connector class to KEGG Enzyme database.
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.
biodb::BiodbConnBase
-> biodb::BiodbConn
-> biodbKegg::KeggConn
-> KeggEnzymeConn
biodb::BiodbConnBase$getBaseUrl()
biodb::BiodbConnBase$getConnClass()
biodb::BiodbConnBase$getConnClassName()
biodb::BiodbConnBase$getDbClass()
biodb::BiodbConnBase$getEntryClass()
biodb::BiodbConnBase$getEntryClassName()
biodb::BiodbConnBase$getEntryContentType()
biodb::BiodbConnBase$getEntryFileExt()
biodb::BiodbConnBase$getEntryIdField()
biodb::BiodbConnBase$getName()
biodb::BiodbConnBase$getPropSlots()
biodb::BiodbConnBase$getPropValSlot()
biodb::BiodbConnBase$getPropertyValue()
biodb::BiodbConnBase$getSchedulerNParam()
biodb::BiodbConnBase$getSchedulerTParam()
biodb::BiodbConnBase$getToken()
biodb::BiodbConnBase$getUrl()
biodb::BiodbConnBase$getUrls()
biodb::BiodbConnBase$getWsUrl()
biodb::BiodbConnBase$getXmlNs()
biodb::BiodbConnBase$hasProp()
biodb::BiodbConnBase$hasPropSlot()
biodb::BiodbConnBase$isSlotProp()
biodb::BiodbConnBase$propExists()
biodb::BiodbConnBase$setBaseUrl()
biodb::BiodbConnBase$setPropValSlot()
biodb::BiodbConnBase$setPropertyValue()
biodb::BiodbConnBase$setSchedulerNParam()
biodb::BiodbConnBase$setSchedulerTParam()
biodb::BiodbConnBase$setToken()
biodb::BiodbConnBase$setUrl()
biodb::BiodbConnBase$setWsUrl()
biodb::BiodbConnBase$updatePropertiesDefinition()
biodb::BiodbConn$addNewEntry()
biodb::BiodbConn$allowEditing()
biodb::BiodbConn$allowWriting()
biodb::BiodbConn$annotateMzValues()
biodb::BiodbConn$checkDb()
biodb::BiodbConn$collapseResultsDataFrame()
biodb::BiodbConn$correctIds()
biodb::BiodbConn$deleteAllCacheEntries()
biodb::BiodbConn$deleteAllEntriesFromPersistentCache()
biodb::BiodbConn$deleteAllEntriesFromVolatileCache()
biodb::BiodbConn$deleteWholePersistentCache()
biodb::BiodbConn$disallowEditing()
biodb::BiodbConn$disallowWriting()
biodb::BiodbConn$download()
biodb::BiodbConn$editingIsAllowed()
biodb::BiodbConn$filterEntriesOnRt()
biodb::BiodbConn$getAllCacheEntries()
biodb::BiodbConn$getAllVolatileCacheEntries()
biodb::BiodbConn$getBiodb()
biodb::BiodbConn$getCacheFile()
biodb::BiodbConn$getCacheId()
biodb::BiodbConn$getChromCol()
biodb::BiodbConn$getDownloadPath()
biodb::BiodbConn$getEntry()
biodb::BiodbConn$getEntryContent()
biodb::BiodbConn$getEntryContentFromDb()
biodb::BiodbConn$getEntryContentRequest()
biodb::BiodbConn$getEntryIds()
biodb::BiodbConn$getEntryImageUrl()
biodb::BiodbConn$getEntryPageUrl()
biodb::BiodbConn$getId()
biodb::BiodbConn$getMatchingMzField()
biodb::BiodbConn$getMzValues()
biodb::BiodbConn$getNbEntries()
biodb::BiodbConn$getNbPeaks()
biodb::BiodbConn$getSearchableFields()
biodb::BiodbConn$isCompounddb()
biodb::BiodbConn$isDownloadable()
biodb::BiodbConn$isDownloaded()
biodb::BiodbConn$isEditable()
biodb::BiodbConn$isExtracted()
biodb::BiodbConn$isMassdb()
biodb::BiodbConn$isRemotedb()
biodb::BiodbConn$isSearchableByField()
biodb::BiodbConn$isWritable()
biodb::BiodbConn$makeRequest()
biodb::BiodbConn$makesRefToEntry()
biodb::BiodbConn$msmsSearch()
biodb::BiodbConn$print()
biodb::BiodbConn$requiresDownload()
biodb::BiodbConn$searchByName()
biodb::BiodbConn$searchCompound()
biodb::BiodbConn$searchForEntries()
biodb::BiodbConn$searchForMassSpectra()
biodb::BiodbConn$searchMsEntries()
biodb::BiodbConn$searchMsPeaks()
biodb::BiodbConn$searchMzRange()
biodb::BiodbConn$searchMzTol()
biodb::BiodbConn$setDownloadedFile()
biodb::BiodbConn$setEditingAllowed()
biodb::BiodbConn$setMatchingMzField()
biodb::BiodbConn$setWritingAllowed()
biodb::BiodbConn$write()
biodb::BiodbConn$writingIsAllowed()
biodbKegg::KeggConn$wsFind()
biodbKegg::KeggConn$wsList()
new()
New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.
KeggEnzymeConn$new(...)
...
All parameters are passed to the super class initializer.
Nothing.
getPathwayIds()
Gets organism pathways. This method retrieves KEGG pathways of the specified organism in which the enzymes are involved.
KeggEnzymeConn$getPathwayIds(id, org)
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.
A vector of KEGG pathway IDs.
clone()
The objects of this class are cloneable with this method.
KeggEnzymeConn$clone(deep = FALSE)
deep
Whether to make a deep clone.
# 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()
# 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()
This is the entry class for the KEGG Enzyme class.
biodb::BiodbEntry
-> biodb::BiodbTxtEntry
-> biodbKegg::KeggEntry
-> KeggEnzymeEntry
biodb::BiodbEntry$appendFieldValue()
biodb::BiodbEntry$cloneInstance()
biodb::BiodbEntry$computeFields()
biodb::BiodbEntry$fieldHasBasicClass()
biodb::BiodbEntry$getBiodb()
biodb::BiodbEntry$getDbClass()
biodb::BiodbEntry$getField()
biodb::BiodbEntry$getFieldCardinality()
biodb::BiodbEntry$getFieldClass()
biodb::BiodbEntry$getFieldDef()
biodb::BiodbEntry$getFieldNames()
biodb::BiodbEntry$getFieldValue()
biodb::BiodbEntry$getFieldsAsDataframe()
biodb::BiodbEntry$getFieldsAsJson()
biodb::BiodbEntry$getFieldsByType()
biodb::BiodbEntry$getId()
biodb::BiodbEntry$getName()
biodb::BiodbEntry$getParent()
biodb::BiodbEntry$hasField()
biodb::BiodbEntry$isNew()
biodb::BiodbEntry$makesRefToEntry()
biodb::BiodbEntry$parentIsAConnector()
biodb::BiodbEntry$parseContent()
biodb::BiodbEntry$print()
biodb::BiodbEntry$removeField()
biodb::BiodbEntry$setField()
biodb::BiodbEntry$setFieldValue()
biodb::BiodbTxtEntry$initialize()
clone()
The objects of this class are cloneable with this method.
KeggEnzymeEntry$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.enzyme') # Get an entry e <- conn$getEntry('1.1.1.54') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.enzyme') # Get an entry e <- conn$getEntry('1.1.1.54') # Terminate instance. mybiodb$terminate()
The connector class to KEGG Pathway database.
The connector class to KEGG Pathway database.
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.
biodb::BiodbConnBase
-> biodb::BiodbConn
-> biodbKegg::KeggConn
-> KeggGenesConn
biodb::BiodbConnBase$getBaseUrl()
biodb::BiodbConnBase$getConnClass()
biodb::BiodbConnBase$getConnClassName()
biodb::BiodbConnBase$getDbClass()
biodb::BiodbConnBase$getEntryClass()
biodb::BiodbConnBase$getEntryClassName()
biodb::BiodbConnBase$getEntryContentType()
biodb::BiodbConnBase$getEntryFileExt()
biodb::BiodbConnBase$getEntryIdField()
biodb::BiodbConnBase$getName()
biodb::BiodbConnBase$getPropSlots()
biodb::BiodbConnBase$getPropValSlot()
biodb::BiodbConnBase$getPropertyValue()
biodb::BiodbConnBase$getSchedulerNParam()
biodb::BiodbConnBase$getSchedulerTParam()
biodb::BiodbConnBase$getToken()
biodb::BiodbConnBase$getUrl()
biodb::BiodbConnBase$getUrls()
biodb::BiodbConnBase$getWsUrl()
biodb::BiodbConnBase$getXmlNs()
biodb::BiodbConnBase$hasProp()
biodb::BiodbConnBase$hasPropSlot()
biodb::BiodbConnBase$isSlotProp()
biodb::BiodbConnBase$propExists()
biodb::BiodbConnBase$setBaseUrl()
biodb::BiodbConnBase$setPropValSlot()
biodb::BiodbConnBase$setPropertyValue()
biodb::BiodbConnBase$setSchedulerNParam()
biodb::BiodbConnBase$setSchedulerTParam()
biodb::BiodbConnBase$setToken()
biodb::BiodbConnBase$setUrl()
biodb::BiodbConnBase$setWsUrl()
biodb::BiodbConnBase$updatePropertiesDefinition()
biodb::BiodbConn$addNewEntry()
biodb::BiodbConn$allowEditing()
biodb::BiodbConn$allowWriting()
biodb::BiodbConn$annotateMzValues()
biodb::BiodbConn$checkDb()
biodb::BiodbConn$collapseResultsDataFrame()
biodb::BiodbConn$correctIds()
biodb::BiodbConn$deleteAllCacheEntries()
biodb::BiodbConn$deleteAllEntriesFromPersistentCache()
biodb::BiodbConn$deleteAllEntriesFromVolatileCache()
biodb::BiodbConn$deleteWholePersistentCache()
biodb::BiodbConn$disallowEditing()
biodb::BiodbConn$disallowWriting()
biodb::BiodbConn$download()
biodb::BiodbConn$editingIsAllowed()
biodb::BiodbConn$filterEntriesOnRt()
biodb::BiodbConn$getAllCacheEntries()
biodb::BiodbConn$getAllVolatileCacheEntries()
biodb::BiodbConn$getBiodb()
biodb::BiodbConn$getCacheFile()
biodb::BiodbConn$getCacheId()
biodb::BiodbConn$getChromCol()
biodb::BiodbConn$getDownloadPath()
biodb::BiodbConn$getEntry()
biodb::BiodbConn$getEntryContent()
biodb::BiodbConn$getEntryContentFromDb()
biodb::BiodbConn$getEntryContentRequest()
biodb::BiodbConn$getEntryIds()
biodb::BiodbConn$getEntryImageUrl()
biodb::BiodbConn$getEntryPageUrl()
biodb::BiodbConn$getId()
biodb::BiodbConn$getMatchingMzField()
biodb::BiodbConn$getMzValues()
biodb::BiodbConn$getNbEntries()
biodb::BiodbConn$getNbPeaks()
biodb::BiodbConn$getSearchableFields()
biodb::BiodbConn$isCompounddb()
biodb::BiodbConn$isDownloadable()
biodb::BiodbConn$isDownloaded()
biodb::BiodbConn$isEditable()
biodb::BiodbConn$isExtracted()
biodb::BiodbConn$isMassdb()
biodb::BiodbConn$isRemotedb()
biodb::BiodbConn$isSearchableByField()
biodb::BiodbConn$isWritable()
biodb::BiodbConn$makeRequest()
biodb::BiodbConn$makesRefToEntry()
biodb::BiodbConn$msmsSearch()
biodb::BiodbConn$print()
biodb::BiodbConn$requiresDownload()
biodb::BiodbConn$searchByName()
biodb::BiodbConn$searchCompound()
biodb::BiodbConn$searchForEntries()
biodb::BiodbConn$searchForMassSpectra()
biodb::BiodbConn$searchMsEntries()
biodb::BiodbConn$searchMsPeaks()
biodb::BiodbConn$searchMzRange()
biodb::BiodbConn$searchMzTol()
biodb::BiodbConn$setDownloadedFile()
biodb::BiodbConn$setEditingAllowed()
biodb::BiodbConn$setMatchingMzField()
biodb::BiodbConn$setWritingAllowed()
biodb::BiodbConn$write()
biodb::BiodbConn$writingIsAllowed()
biodbKegg::KeggConn$wsFind()
biodbKegg::KeggConn$wsList()
new()
New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.
KeggGenesConn$new(...)
...
All parameters are passed to the super class initializer.
Nothing.
getPathwayIdsPerGene()
Gets organism pathways for each gene. This method retrieves for each gene the KEGG pathways of the organism in which the gene is involved.
KeggGenesConn$getPathwayIdsPerGene(id, org, limit = 3)
id
A character vector of KEGG Gene 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.
limit
The maximum number of modules IDs to retrieve for each gene. Set to 0 to disable.
A named list of KEGG pathway ID vectors, where the names of the list are the gene IDs."
getPathwayIds()
Gets organism pathways. This method retrieves KEGG pathways of the specified organism in which the genes are involved.
KeggGenesConn$getPathwayIds(id, org)
id
A character vector of KEGG Genes 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.
A vector of KEGG pathway IDs.
clone()
The objects of this class are cloneable with this method.
KeggGenesConn$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.genes') # Get an entry e <- conn$getEntry('mmu:14635') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.genes') # Get an entry e <- conn$getEntry('mmu:14635') # Terminate instance. mybiodb$terminate()
This is the entry class for the KEGG Genes database.
biodb::BiodbEntry
-> biodb::BiodbTxtEntry
-> biodbKegg::KeggEntry
-> KeggGenesEntry
biodb::BiodbEntry$appendFieldValue()
biodb::BiodbEntry$cloneInstance()
biodb::BiodbEntry$computeFields()
biodb::BiodbEntry$fieldHasBasicClass()
biodb::BiodbEntry$getBiodb()
biodb::BiodbEntry$getDbClass()
biodb::BiodbEntry$getField()
biodb::BiodbEntry$getFieldCardinality()
biodb::BiodbEntry$getFieldClass()
biodb::BiodbEntry$getFieldDef()
biodb::BiodbEntry$getFieldNames()
biodb::BiodbEntry$getFieldValue()
biodb::BiodbEntry$getFieldsAsDataframe()
biodb::BiodbEntry$getFieldsAsJson()
biodb::BiodbEntry$getFieldsByType()
biodb::BiodbEntry$getId()
biodb::BiodbEntry$getName()
biodb::BiodbEntry$getParent()
biodb::BiodbEntry$hasField()
biodb::BiodbEntry$isNew()
biodb::BiodbEntry$makesRefToEntry()
biodb::BiodbEntry$parentIsAConnector()
biodb::BiodbEntry$parseContent()
biodb::BiodbEntry$print()
biodb::BiodbEntry$removeField()
biodb::BiodbEntry$setField()
biodb::BiodbEntry$setFieldValue()
biodb::BiodbTxtEntry$initialize()
clone()
The objects of this class are cloneable with this method.
KeggGenesEntry$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.genes') # Get an entry e <- conn$getEntry('mmu:14635') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.genes') # Get an entry e <- conn$getEntry('mmu:14635') # Terminate instance. mybiodb$terminate()
The connector class to KEGG Glycan database.
The connector class to KEGG Glycan database.
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.
biodb::BiodbConnBase
-> biodb::BiodbConn
-> biodbKegg::KeggConn
-> KeggGlycanConn
biodb::BiodbConnBase$getBaseUrl()
biodb::BiodbConnBase$getConnClass()
biodb::BiodbConnBase$getConnClassName()
biodb::BiodbConnBase$getDbClass()
biodb::BiodbConnBase$getEntryClass()
biodb::BiodbConnBase$getEntryClassName()
biodb::BiodbConnBase$getEntryContentType()
biodb::BiodbConnBase$getEntryFileExt()
biodb::BiodbConnBase$getEntryIdField()
biodb::BiodbConnBase$getName()
biodb::BiodbConnBase$getPropSlots()
biodb::BiodbConnBase$getPropValSlot()
biodb::BiodbConnBase$getPropertyValue()
biodb::BiodbConnBase$getSchedulerNParam()
biodb::BiodbConnBase$getSchedulerTParam()
biodb::BiodbConnBase$getToken()
biodb::BiodbConnBase$getUrl()
biodb::BiodbConnBase$getUrls()
biodb::BiodbConnBase$getWsUrl()
biodb::BiodbConnBase$getXmlNs()
biodb::BiodbConnBase$hasProp()
biodb::BiodbConnBase$hasPropSlot()
biodb::BiodbConnBase$isSlotProp()
biodb::BiodbConnBase$propExists()
biodb::BiodbConnBase$setBaseUrl()
biodb::BiodbConnBase$setPropValSlot()
biodb::BiodbConnBase$setPropertyValue()
biodb::BiodbConnBase$setSchedulerNParam()
biodb::BiodbConnBase$setSchedulerTParam()
biodb::BiodbConnBase$setToken()
biodb::BiodbConnBase$setUrl()
biodb::BiodbConnBase$setWsUrl()
biodb::BiodbConnBase$updatePropertiesDefinition()
biodb::BiodbConn$addNewEntry()
biodb::BiodbConn$allowEditing()
biodb::BiodbConn$allowWriting()
biodb::BiodbConn$annotateMzValues()
biodb::BiodbConn$checkDb()
biodb::BiodbConn$collapseResultsDataFrame()
biodb::BiodbConn$correctIds()
biodb::BiodbConn$deleteAllCacheEntries()
biodb::BiodbConn$deleteAllEntriesFromPersistentCache()
biodb::BiodbConn$deleteAllEntriesFromVolatileCache()
biodb::BiodbConn$deleteWholePersistentCache()
biodb::BiodbConn$disallowEditing()
biodb::BiodbConn$disallowWriting()
biodb::BiodbConn$download()
biodb::BiodbConn$editingIsAllowed()
biodb::BiodbConn$filterEntriesOnRt()
biodb::BiodbConn$getAllCacheEntries()
biodb::BiodbConn$getAllVolatileCacheEntries()
biodb::BiodbConn$getBiodb()
biodb::BiodbConn$getCacheFile()
biodb::BiodbConn$getCacheId()
biodb::BiodbConn$getChromCol()
biodb::BiodbConn$getDownloadPath()
biodb::BiodbConn$getEntry()
biodb::BiodbConn$getEntryContent()
biodb::BiodbConn$getEntryContentFromDb()
biodb::BiodbConn$getEntryContentRequest()
biodb::BiodbConn$getEntryIds()
biodb::BiodbConn$getEntryImageUrl()
biodb::BiodbConn$getEntryPageUrl()
biodb::BiodbConn$getId()
biodb::BiodbConn$getMatchingMzField()
biodb::BiodbConn$getMzValues()
biodb::BiodbConn$getNbEntries()
biodb::BiodbConn$getNbPeaks()
biodb::BiodbConn$getSearchableFields()
biodb::BiodbConn$isCompounddb()
biodb::BiodbConn$isDownloadable()
biodb::BiodbConn$isDownloaded()
biodb::BiodbConn$isEditable()
biodb::BiodbConn$isExtracted()
biodb::BiodbConn$isMassdb()
biodb::BiodbConn$isRemotedb()
biodb::BiodbConn$isSearchableByField()
biodb::BiodbConn$isWritable()
biodb::BiodbConn$makeRequest()
biodb::BiodbConn$makesRefToEntry()
biodb::BiodbConn$msmsSearch()
biodb::BiodbConn$print()
biodb::BiodbConn$requiresDownload()
biodb::BiodbConn$searchByName()
biodb::BiodbConn$searchCompound()
biodb::BiodbConn$searchForEntries()
biodb::BiodbConn$searchForMassSpectra()
biodb::BiodbConn$searchMsEntries()
biodb::BiodbConn$searchMsPeaks()
biodb::BiodbConn$searchMzRange()
biodb::BiodbConn$searchMzTol()
biodb::BiodbConn$setDownloadedFile()
biodb::BiodbConn$setEditingAllowed()
biodb::BiodbConn$setMatchingMzField()
biodb::BiodbConn$setWritingAllowed()
biodb::BiodbConn$write()
biodb::BiodbConn$writingIsAllowed()
biodbKegg::KeggConn$wsFind()
biodbKegg::KeggConn$wsList()
new()
New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.
KeggGlycanConn$new(...)
...
All parameters are passed to the super class initializer.
Nothing.
clone()
The objects of this class are cloneable with this method.
KeggGlycanConn$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector to KEGG Glycan conn <- mybiodb$getFactory()$createConn('kegg.glycan') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector to KEGG Glycan conn <- mybiodb$getFactory()$createConn('kegg.glycan') # Terminate instance. mybiodb$terminate()
This is the entry class for the KEGG Glycan database.
biodb::BiodbEntry
-> biodb::BiodbTxtEntry
-> biodbKegg::KeggEntry
-> KeggGlycanEntry
biodb::BiodbEntry$appendFieldValue()
biodb::BiodbEntry$cloneInstance()
biodb::BiodbEntry$computeFields()
biodb::BiodbEntry$fieldHasBasicClass()
biodb::BiodbEntry$getBiodb()
biodb::BiodbEntry$getDbClass()
biodb::BiodbEntry$getField()
biodb::BiodbEntry$getFieldCardinality()
biodb::BiodbEntry$getFieldClass()
biodb::BiodbEntry$getFieldDef()
biodb::BiodbEntry$getFieldNames()
biodb::BiodbEntry$getFieldValue()
biodb::BiodbEntry$getFieldsAsDataframe()
biodb::BiodbEntry$getFieldsAsJson()
biodb::BiodbEntry$getFieldsByType()
biodb::BiodbEntry$getId()
biodb::BiodbEntry$getName()
biodb::BiodbEntry$getParent()
biodb::BiodbEntry$hasField()
biodb::BiodbEntry$isNew()
biodb::BiodbEntry$makesRefToEntry()
biodb::BiodbEntry$parentIsAConnector()
biodb::BiodbEntry$parseContent()
biodb::BiodbEntry$print()
biodb::BiodbEntry$removeField()
biodb::BiodbEntry$setField()
biodb::BiodbEntry$setFieldValue()
biodb::BiodbTxtEntry$initialize()
clone()
The objects of this class are cloneable with this method.
KeggGlycanEntry$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.glycan') # Get an entry e <- conn$getEntry('G00018') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.glycan') # Get an entry e <- conn$getEntry('G00018') # Terminate instance. mybiodb$terminate()
The connector class to KEGG Pathway database.
The connector class to KEGG Pathway database.
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.
biodb::BiodbConnBase
-> biodb::BiodbConn
-> biodbKegg::KeggConn
-> KeggModuleConn
biodb::BiodbConnBase$getBaseUrl()
biodb::BiodbConnBase$getConnClass()
biodb::BiodbConnBase$getConnClassName()
biodb::BiodbConnBase$getDbClass()
biodb::BiodbConnBase$getEntryClass()
biodb::BiodbConnBase$getEntryClassName()
biodb::BiodbConnBase$getEntryContentType()
biodb::BiodbConnBase$getEntryFileExt()
biodb::BiodbConnBase$getEntryIdField()
biodb::BiodbConnBase$getName()
biodb::BiodbConnBase$getPropSlots()
biodb::BiodbConnBase$getPropValSlot()
biodb::BiodbConnBase$getPropertyValue()
biodb::BiodbConnBase$getSchedulerNParam()
biodb::BiodbConnBase$getSchedulerTParam()
biodb::BiodbConnBase$getToken()
biodb::BiodbConnBase$getUrl()
biodb::BiodbConnBase$getUrls()
biodb::BiodbConnBase$getWsUrl()
biodb::BiodbConnBase$getXmlNs()
biodb::BiodbConnBase$hasProp()
biodb::BiodbConnBase$hasPropSlot()
biodb::BiodbConnBase$isSlotProp()
biodb::BiodbConnBase$propExists()
biodb::BiodbConnBase$setBaseUrl()
biodb::BiodbConnBase$setPropValSlot()
biodb::BiodbConnBase$setPropertyValue()
biodb::BiodbConnBase$setSchedulerNParam()
biodb::BiodbConnBase$setSchedulerTParam()
biodb::BiodbConnBase$setToken()
biodb::BiodbConnBase$setUrl()
biodb::BiodbConnBase$setWsUrl()
biodb::BiodbConnBase$updatePropertiesDefinition()
biodb::BiodbConn$addNewEntry()
biodb::BiodbConn$allowEditing()
biodb::BiodbConn$allowWriting()
biodb::BiodbConn$annotateMzValues()
biodb::BiodbConn$checkDb()
biodb::BiodbConn$collapseResultsDataFrame()
biodb::BiodbConn$correctIds()
biodb::BiodbConn$deleteAllCacheEntries()
biodb::BiodbConn$deleteAllEntriesFromPersistentCache()
biodb::BiodbConn$deleteAllEntriesFromVolatileCache()
biodb::BiodbConn$deleteWholePersistentCache()
biodb::BiodbConn$disallowEditing()
biodb::BiodbConn$disallowWriting()
biodb::BiodbConn$download()
biodb::BiodbConn$editingIsAllowed()
biodb::BiodbConn$filterEntriesOnRt()
biodb::BiodbConn$getAllCacheEntries()
biodb::BiodbConn$getAllVolatileCacheEntries()
biodb::BiodbConn$getBiodb()
biodb::BiodbConn$getCacheFile()
biodb::BiodbConn$getCacheId()
biodb::BiodbConn$getChromCol()
biodb::BiodbConn$getDownloadPath()
biodb::BiodbConn$getEntry()
biodb::BiodbConn$getEntryContent()
biodb::BiodbConn$getEntryContentFromDb()
biodb::BiodbConn$getEntryContentRequest()
biodb::BiodbConn$getEntryIds()
biodb::BiodbConn$getEntryImageUrl()
biodb::BiodbConn$getEntryPageUrl()
biodb::BiodbConn$getId()
biodb::BiodbConn$getMatchingMzField()
biodb::BiodbConn$getMzValues()
biodb::BiodbConn$getNbEntries()
biodb::BiodbConn$getNbPeaks()
biodb::BiodbConn$getSearchableFields()
biodb::BiodbConn$isCompounddb()
biodb::BiodbConn$isDownloadable()
biodb::BiodbConn$isDownloaded()
biodb::BiodbConn$isEditable()
biodb::BiodbConn$isExtracted()
biodb::BiodbConn$isMassdb()
biodb::BiodbConn$isRemotedb()
biodb::BiodbConn$isSearchableByField()
biodb::BiodbConn$isWritable()
biodb::BiodbConn$makeRequest()
biodb::BiodbConn$makesRefToEntry()
biodb::BiodbConn$msmsSearch()
biodb::BiodbConn$print()
biodb::BiodbConn$requiresDownload()
biodb::BiodbConn$searchByName()
biodb::BiodbConn$searchCompound()
biodb::BiodbConn$searchForEntries()
biodb::BiodbConn$searchForMassSpectra()
biodb::BiodbConn$searchMsEntries()
biodb::BiodbConn$searchMsPeaks()
biodb::BiodbConn$searchMzRange()
biodb::BiodbConn$searchMzTol()
biodb::BiodbConn$setDownloadedFile()
biodb::BiodbConn$setEditingAllowed()
biodb::BiodbConn$setMatchingMzField()
biodb::BiodbConn$setWritingAllowed()
biodb::BiodbConn$write()
biodb::BiodbConn$writingIsAllowed()
biodbKegg::KeggConn$wsFind()
biodbKegg::KeggConn$wsList()
new()
New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.
KeggModuleConn$new(...)
...
All parameters are passed to the super class initializer.
Nothing.
clone()
The objects of this class are cloneable with this method.
KeggModuleConn$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.module') # Get an entry e <- conn$getEntry('M00009') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.module') # Get an entry e <- conn$getEntry('M00009') # Terminate instance. mybiodb$terminate()
This is the entry class for KEGG Module database
biodb::BiodbEntry
-> biodb::BiodbTxtEntry
-> biodbKegg::KeggEntry
-> KeggModuleEntry
biodb::BiodbEntry$appendFieldValue()
biodb::BiodbEntry$cloneInstance()
biodb::BiodbEntry$computeFields()
biodb::BiodbEntry$fieldHasBasicClass()
biodb::BiodbEntry$getBiodb()
biodb::BiodbEntry$getDbClass()
biodb::BiodbEntry$getField()
biodb::BiodbEntry$getFieldCardinality()
biodb::BiodbEntry$getFieldClass()
biodb::BiodbEntry$getFieldDef()
biodb::BiodbEntry$getFieldNames()
biodb::BiodbEntry$getFieldValue()
biodb::BiodbEntry$getFieldsAsDataframe()
biodb::BiodbEntry$getFieldsAsJson()
biodb::BiodbEntry$getFieldsByType()
biodb::BiodbEntry$getId()
biodb::BiodbEntry$getName()
biodb::BiodbEntry$getParent()
biodb::BiodbEntry$hasField()
biodb::BiodbEntry$isNew()
biodb::BiodbEntry$makesRefToEntry()
biodb::BiodbEntry$parentIsAConnector()
biodb::BiodbEntry$parseContent()
biodb::BiodbEntry$print()
biodb::BiodbEntry$removeField()
biodb::BiodbEntry$setField()
biodb::BiodbEntry$setFieldValue()
biodb::BiodbTxtEntry$initialize()
clone()
The objects of this class are cloneable with this method.
KeggModuleEntry$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.module') # Get an entry e <- conn$getEntry('M00009') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.module') # Get an entry e <- conn$getEntry('M00009') # Terminate instance. mybiodb$terminate()
The connector class to KEGG Orthology database.
The connector class to KEGG Orthology database.
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.
biodb::BiodbConnBase
-> biodb::BiodbConn
-> biodbKegg::KeggConn
-> KeggOrthologyConn
biodb::BiodbConnBase$getBaseUrl()
biodb::BiodbConnBase$getConnClass()
biodb::BiodbConnBase$getConnClassName()
biodb::BiodbConnBase$getDbClass()
biodb::BiodbConnBase$getEntryClass()
biodb::BiodbConnBase$getEntryClassName()
biodb::BiodbConnBase$getEntryContentType()
biodb::BiodbConnBase$getEntryFileExt()
biodb::BiodbConnBase$getEntryIdField()
biodb::BiodbConnBase$getName()
biodb::BiodbConnBase$getPropSlots()
biodb::BiodbConnBase$getPropValSlot()
biodb::BiodbConnBase$getPropertyValue()
biodb::BiodbConnBase$getSchedulerNParam()
biodb::BiodbConnBase$getSchedulerTParam()
biodb::BiodbConnBase$getToken()
biodb::BiodbConnBase$getUrl()
biodb::BiodbConnBase$getUrls()
biodb::BiodbConnBase$getWsUrl()
biodb::BiodbConnBase$getXmlNs()
biodb::BiodbConnBase$hasProp()
biodb::BiodbConnBase$hasPropSlot()
biodb::BiodbConnBase$isSlotProp()
biodb::BiodbConnBase$propExists()
biodb::BiodbConnBase$setBaseUrl()
biodb::BiodbConnBase$setPropValSlot()
biodb::BiodbConnBase$setPropertyValue()
biodb::BiodbConnBase$setSchedulerNParam()
biodb::BiodbConnBase$setSchedulerTParam()
biodb::BiodbConnBase$setToken()
biodb::BiodbConnBase$setUrl()
biodb::BiodbConnBase$setWsUrl()
biodb::BiodbConnBase$updatePropertiesDefinition()
biodb::BiodbConn$addNewEntry()
biodb::BiodbConn$allowEditing()
biodb::BiodbConn$allowWriting()
biodb::BiodbConn$annotateMzValues()
biodb::BiodbConn$checkDb()
biodb::BiodbConn$collapseResultsDataFrame()
biodb::BiodbConn$correctIds()
biodb::BiodbConn$deleteAllCacheEntries()
biodb::BiodbConn$deleteAllEntriesFromPersistentCache()
biodb::BiodbConn$deleteAllEntriesFromVolatileCache()
biodb::BiodbConn$deleteWholePersistentCache()
biodb::BiodbConn$disallowEditing()
biodb::BiodbConn$disallowWriting()
biodb::BiodbConn$download()
biodb::BiodbConn$editingIsAllowed()
biodb::BiodbConn$filterEntriesOnRt()
biodb::BiodbConn$getAllCacheEntries()
biodb::BiodbConn$getAllVolatileCacheEntries()
biodb::BiodbConn$getBiodb()
biodb::BiodbConn$getCacheFile()
biodb::BiodbConn$getCacheId()
biodb::BiodbConn$getChromCol()
biodb::BiodbConn$getDownloadPath()
biodb::BiodbConn$getEntry()
biodb::BiodbConn$getEntryContent()
biodb::BiodbConn$getEntryContentFromDb()
biodb::BiodbConn$getEntryContentRequest()
biodb::BiodbConn$getEntryIds()
biodb::BiodbConn$getEntryImageUrl()
biodb::BiodbConn$getEntryPageUrl()
biodb::BiodbConn$getId()
biodb::BiodbConn$getMatchingMzField()
biodb::BiodbConn$getMzValues()
biodb::BiodbConn$getNbEntries()
biodb::BiodbConn$getNbPeaks()
biodb::BiodbConn$getSearchableFields()
biodb::BiodbConn$isCompounddb()
biodb::BiodbConn$isDownloadable()
biodb::BiodbConn$isDownloaded()
biodb::BiodbConn$isEditable()
biodb::BiodbConn$isExtracted()
biodb::BiodbConn$isMassdb()
biodb::BiodbConn$isRemotedb()
biodb::BiodbConn$isSearchableByField()
biodb::BiodbConn$isWritable()
biodb::BiodbConn$makeRequest()
biodb::BiodbConn$makesRefToEntry()
biodb::BiodbConn$msmsSearch()
biodb::BiodbConn$print()
biodb::BiodbConn$requiresDownload()
biodb::BiodbConn$searchByName()
biodb::BiodbConn$searchCompound()
biodb::BiodbConn$searchForEntries()
biodb::BiodbConn$searchForMassSpectra()
biodb::BiodbConn$searchMsEntries()
biodb::BiodbConn$searchMsPeaks()
biodb::BiodbConn$searchMzRange()
biodb::BiodbConn$searchMzTol()
biodb::BiodbConn$setDownloadedFile()
biodb::BiodbConn$setEditingAllowed()
biodb::BiodbConn$setMatchingMzField()
biodb::BiodbConn$setWritingAllowed()
biodb::BiodbConn$write()
biodb::BiodbConn$writingIsAllowed()
biodbKegg::KeggConn$wsFind()
biodbKegg::KeggConn$wsList()
new()
New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.
KeggOrthologyConn$new(...)
...
All parameters are passed to the super class initializer.
Nothing.
clone()
The objects of this class are cloneable with this method.
KeggOrthologyConn$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.orthology') # Get an entry e <- conn$getEntry('K12668') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.orthology') # Get an entry e <- conn$getEntry('K12668') # Terminate instance. mybiodb$terminate()
This is the class entry for KEGG Orthology database.
biodb::BiodbEntry
-> biodb::BiodbTxtEntry
-> biodbKegg::KeggEntry
-> KeggOrthologyEntry
biodb::BiodbEntry$appendFieldValue()
biodb::BiodbEntry$cloneInstance()
biodb::BiodbEntry$computeFields()
biodb::BiodbEntry$fieldHasBasicClass()
biodb::BiodbEntry$getBiodb()
biodb::BiodbEntry$getDbClass()
biodb::BiodbEntry$getField()
biodb::BiodbEntry$getFieldCardinality()
biodb::BiodbEntry$getFieldClass()
biodb::BiodbEntry$getFieldDef()
biodb::BiodbEntry$getFieldNames()
biodb::BiodbEntry$getFieldValue()
biodb::BiodbEntry$getFieldsAsDataframe()
biodb::BiodbEntry$getFieldsAsJson()
biodb::BiodbEntry$getFieldsByType()
biodb::BiodbEntry$getId()
biodb::BiodbEntry$getName()
biodb::BiodbEntry$getParent()
biodb::BiodbEntry$hasField()
biodb::BiodbEntry$isNew()
biodb::BiodbEntry$makesRefToEntry()
biodb::BiodbEntry$parentIsAConnector()
biodb::BiodbEntry$parseContent()
biodb::BiodbEntry$print()
biodb::BiodbEntry$removeField()
biodb::BiodbEntry$setField()
biodb::BiodbEntry$setFieldValue()
biodb::BiodbTxtEntry$initialize()
clone()
The objects of this class are cloneable with this method.
KeggOrthologyEntry$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.orthology') # Get an entry e <- conn$getEntry('K12668') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.orthology') # Get an entry e <- conn$getEntry('K12668') # Terminate instance. mybiodb$terminate()
The connector class to KEGG Pathway database.
The connector class to KEGG Pathway database.
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.
biodb::BiodbConnBase
-> biodb::BiodbConn
-> biodbKegg::KeggConn
-> KeggPathwayConn
biodb::BiodbConnBase$getBaseUrl()
biodb::BiodbConnBase$getConnClass()
biodb::BiodbConnBase$getConnClassName()
biodb::BiodbConnBase$getDbClass()
biodb::BiodbConnBase$getEntryClass()
biodb::BiodbConnBase$getEntryClassName()
biodb::BiodbConnBase$getEntryContentType()
biodb::BiodbConnBase$getEntryFileExt()
biodb::BiodbConnBase$getEntryIdField()
biodb::BiodbConnBase$getName()
biodb::BiodbConnBase$getPropSlots()
biodb::BiodbConnBase$getPropValSlot()
biodb::BiodbConnBase$getPropertyValue()
biodb::BiodbConnBase$getSchedulerNParam()
biodb::BiodbConnBase$getSchedulerTParam()
biodb::BiodbConnBase$getToken()
biodb::BiodbConnBase$getUrl()
biodb::BiodbConnBase$getUrls()
biodb::BiodbConnBase$getWsUrl()
biodb::BiodbConnBase$getXmlNs()
biodb::BiodbConnBase$hasProp()
biodb::BiodbConnBase$hasPropSlot()
biodb::BiodbConnBase$isSlotProp()
biodb::BiodbConnBase$propExists()
biodb::BiodbConnBase$setBaseUrl()
biodb::BiodbConnBase$setPropValSlot()
biodb::BiodbConnBase$setPropertyValue()
biodb::BiodbConnBase$setSchedulerNParam()
biodb::BiodbConnBase$setSchedulerTParam()
biodb::BiodbConnBase$setToken()
biodb::BiodbConnBase$setUrl()
biodb::BiodbConnBase$setWsUrl()
biodb::BiodbConnBase$updatePropertiesDefinition()
biodb::BiodbConn$addNewEntry()
biodb::BiodbConn$allowEditing()
biodb::BiodbConn$allowWriting()
biodb::BiodbConn$annotateMzValues()
biodb::BiodbConn$checkDb()
biodb::BiodbConn$collapseResultsDataFrame()
biodb::BiodbConn$correctIds()
biodb::BiodbConn$deleteAllCacheEntries()
biodb::BiodbConn$deleteAllEntriesFromPersistentCache()
biodb::BiodbConn$deleteAllEntriesFromVolatileCache()
biodb::BiodbConn$deleteWholePersistentCache()
biodb::BiodbConn$disallowEditing()
biodb::BiodbConn$disallowWriting()
biodb::BiodbConn$download()
biodb::BiodbConn$editingIsAllowed()
biodb::BiodbConn$filterEntriesOnRt()
biodb::BiodbConn$getAllCacheEntries()
biodb::BiodbConn$getAllVolatileCacheEntries()
biodb::BiodbConn$getBiodb()
biodb::BiodbConn$getCacheFile()
biodb::BiodbConn$getCacheId()
biodb::BiodbConn$getChromCol()
biodb::BiodbConn$getDownloadPath()
biodb::BiodbConn$getEntry()
biodb::BiodbConn$getEntryContent()
biodb::BiodbConn$getEntryContentFromDb()
biodb::BiodbConn$getEntryContentRequest()
biodb::BiodbConn$getEntryIds()
biodb::BiodbConn$getEntryImageUrl()
biodb::BiodbConn$getEntryPageUrl()
biodb::BiodbConn$getId()
biodb::BiodbConn$getMatchingMzField()
biodb::BiodbConn$getMzValues()
biodb::BiodbConn$getNbEntries()
biodb::BiodbConn$getNbPeaks()
biodb::BiodbConn$getSearchableFields()
biodb::BiodbConn$isCompounddb()
biodb::BiodbConn$isDownloadable()
biodb::BiodbConn$isDownloaded()
biodb::BiodbConn$isEditable()
biodb::BiodbConn$isExtracted()
biodb::BiodbConn$isMassdb()
biodb::BiodbConn$isRemotedb()
biodb::BiodbConn$isSearchableByField()
biodb::BiodbConn$isWritable()
biodb::BiodbConn$makeRequest()
biodb::BiodbConn$makesRefToEntry()
biodb::BiodbConn$msmsSearch()
biodb::BiodbConn$print()
biodb::BiodbConn$requiresDownload()
biodb::BiodbConn$searchByName()
biodb::BiodbConn$searchCompound()
biodb::BiodbConn$searchForEntries()
biodb::BiodbConn$searchForMassSpectra()
biodb::BiodbConn$searchMsEntries()
biodb::BiodbConn$searchMsPeaks()
biodb::BiodbConn$searchMzRange()
biodb::BiodbConn$searchMzTol()
biodb::BiodbConn$setDownloadedFile()
biodb::BiodbConn$setEditingAllowed()
biodb::BiodbConn$setMatchingMzField()
biodb::BiodbConn$setWritingAllowed()
biodb::BiodbConn$write()
biodb::BiodbConn$writingIsAllowed()
biodbKegg::KeggConn$wsFind()
biodbKegg::KeggConn$wsList()
new()
New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.
KeggPathwayConn$new(...)
...
All parameters are passed to the super class initializer.
Nothing.
getReactions()
Retrieves all reactions part of a KEGG pathway. Connects to KEGG databases, and walk through all pathways submitted, and their modules, to find all reactions they are composed of.
KeggPathwayConn$getReactions(id, drop = TRUE)
id
A character vector of entry IDs.
drop
If set to TRUE, returns a single KEGG reaction object instead of a list, if the list contains only one element.
A list of KEGG reaction objects.
convertToOrgPathways()
Takes a list of pathways IDs and converts them to the specified organism, filtering out the ones that do not exist in KEGG.
KeggPathwayConn$convertToOrgPathways(id, org)
id
A character vector of entry 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.
A character vector, the same length as 'id', containing the converted IDs.
buildPathwayGraph()
Builds a pathway graph in the form of two tables of vertices and edges, using KEGG database.
KeggPathwayConn$buildPathwayGraph(id, directed = FALSE, drop = TRUE)
id
A character vector of KEGG pathway entry IDs.
directed
If set to TRUE, use available direction information to create directed edges, duplicating if necessary the vertices.
drop
If set to TRUE and the output list contains only one element, then the returned value is a single list of two data frames.
A named list whose names are the pathway IDs, and values are lists containing two data frames named vertices and edges.
getPathwayIgraph()
Builds a pathway graph, as an igraph object, using KEGG database.
KeggPathwayConn$getPathwayIgraph(id, directed = FALSE, drop = TRUE)
id
A character vector of KEGG pathway entry IDs.
directed
If set to TRUE, use available direction information to create directed edges, duplicating if necessary the vertices.
drop
If set to TRUE and the output list contains only one element, then the returned value is a single igraph object.
A list of igraph objects, or an empty list if the igraph library is not available.
getDecoratedGraphPicture()
Create a pathway graph picture, with some of its elements colorized.
KeggPathwayConn$getDecoratedGraphPicture(id, color2ids)
id
A KEGG pathway ID.
color2ids
A named list defining colors for entry IDs that are present on the graph. The names of the list are standard color names. The values are character vector of entry IDs.
An image object or NULL if the package magick is not available.
extractPathwayMapShapes()
Extracts shapes from a pathway map image.
KeggPathwayConn$extractPathwayMapShapes(id, color2ids)
id
A KEGG pathway ID.
color2ids
A named list defining colors for entry IDs that are present on the graph. The names of the list are standard color names. The values are character vector of entry IDs.
A list of BiodbShape objects.
clone()
The objects of this class are cloneable with this method.
KeggPathwayConn$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Get connector conn=mybiodb$getFactory()$createConn('kegg.pathway') # Retrieve all reactions related to a mouse pathway: reactions=conn$getReactions('mmu00260') # Get a pathway graph graph=conn$buildPathwayGraph('mmu00260') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Get connector conn=mybiodb$getFactory()$createConn('kegg.pathway') # Retrieve all reactions related to a mouse pathway: reactions=conn$getReactions('mmu00260') # Get a pathway graph graph=conn$buildPathwayGraph('mmu00260') # Terminate instance. mybiodb$terminate()
This is the class entry for KEGG Pathway database.
biodb::BiodbEntry
-> biodb::BiodbTxtEntry
-> biodbKegg::KeggEntry
-> KeggPathwayEntry
biodb::BiodbEntry$appendFieldValue()
biodb::BiodbEntry$cloneInstance()
biodb::BiodbEntry$computeFields()
biodb::BiodbEntry$fieldHasBasicClass()
biodb::BiodbEntry$getBiodb()
biodb::BiodbEntry$getDbClass()
biodb::BiodbEntry$getField()
biodb::BiodbEntry$getFieldCardinality()
biodb::BiodbEntry$getFieldClass()
biodb::BiodbEntry$getFieldDef()
biodb::BiodbEntry$getFieldNames()
biodb::BiodbEntry$getFieldValue()
biodb::BiodbEntry$getFieldsAsDataframe()
biodb::BiodbEntry$getFieldsAsJson()
biodb::BiodbEntry$getFieldsByType()
biodb::BiodbEntry$getId()
biodb::BiodbEntry$getName()
biodb::BiodbEntry$getParent()
biodb::BiodbEntry$hasField()
biodb::BiodbEntry$isNew()
biodb::BiodbEntry$makesRefToEntry()
biodb::BiodbEntry$parentIsAConnector()
biodb::BiodbEntry$parseContent()
biodb::BiodbEntry$print()
biodb::BiodbEntry$removeField()
biodb::BiodbEntry$setField()
biodb::BiodbEntry$setFieldValue()
biodb::BiodbTxtEntry$initialize()
clone()
The objects of this class are cloneable with this method.
KeggPathwayEntry$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.pathway') # Get an entry e <- conn$getEntry('map00053') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.pathway') # Get an entry e <- conn$getEntry('map00053') # Terminate instance. mybiodb$terminate()
The connector class to KEGG Reaction database.
The connector class to KEGG Reaction database.
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.
biodb::BiodbConnBase
-> biodb::BiodbConn
-> biodbKegg::KeggConn
-> KeggReactionConn
biodb::BiodbConnBase$getBaseUrl()
biodb::BiodbConnBase$getConnClass()
biodb::BiodbConnBase$getConnClassName()
biodb::BiodbConnBase$getDbClass()
biodb::BiodbConnBase$getEntryClass()
biodb::BiodbConnBase$getEntryClassName()
biodb::BiodbConnBase$getEntryContentType()
biodb::BiodbConnBase$getEntryFileExt()
biodb::BiodbConnBase$getEntryIdField()
biodb::BiodbConnBase$getName()
biodb::BiodbConnBase$getPropSlots()
biodb::BiodbConnBase$getPropValSlot()
biodb::BiodbConnBase$getPropertyValue()
biodb::BiodbConnBase$getSchedulerNParam()
biodb::BiodbConnBase$getSchedulerTParam()
biodb::BiodbConnBase$getToken()
biodb::BiodbConnBase$getUrl()
biodb::BiodbConnBase$getUrls()
biodb::BiodbConnBase$getWsUrl()
biodb::BiodbConnBase$getXmlNs()
biodb::BiodbConnBase$hasProp()
biodb::BiodbConnBase$hasPropSlot()
biodb::BiodbConnBase$isSlotProp()
biodb::BiodbConnBase$propExists()
biodb::BiodbConnBase$setBaseUrl()
biodb::BiodbConnBase$setPropValSlot()
biodb::BiodbConnBase$setPropertyValue()
biodb::BiodbConnBase$setSchedulerNParam()
biodb::BiodbConnBase$setSchedulerTParam()
biodb::BiodbConnBase$setToken()
biodb::BiodbConnBase$setUrl()
biodb::BiodbConnBase$setWsUrl()
biodb::BiodbConnBase$updatePropertiesDefinition()
biodb::BiodbConn$addNewEntry()
biodb::BiodbConn$allowEditing()
biodb::BiodbConn$allowWriting()
biodb::BiodbConn$annotateMzValues()
biodb::BiodbConn$checkDb()
biodb::BiodbConn$collapseResultsDataFrame()
biodb::BiodbConn$correctIds()
biodb::BiodbConn$deleteAllCacheEntries()
biodb::BiodbConn$deleteAllEntriesFromPersistentCache()
biodb::BiodbConn$deleteAllEntriesFromVolatileCache()
biodb::BiodbConn$deleteWholePersistentCache()
biodb::BiodbConn$disallowEditing()
biodb::BiodbConn$disallowWriting()
biodb::BiodbConn$download()
biodb::BiodbConn$editingIsAllowed()
biodb::BiodbConn$filterEntriesOnRt()
biodb::BiodbConn$getAllCacheEntries()
biodb::BiodbConn$getAllVolatileCacheEntries()
biodb::BiodbConn$getBiodb()
biodb::BiodbConn$getCacheFile()
biodb::BiodbConn$getCacheId()
biodb::BiodbConn$getChromCol()
biodb::BiodbConn$getDownloadPath()
biodb::BiodbConn$getEntry()
biodb::BiodbConn$getEntryContent()
biodb::BiodbConn$getEntryContentFromDb()
biodb::BiodbConn$getEntryContentRequest()
biodb::BiodbConn$getEntryIds()
biodb::BiodbConn$getEntryImageUrl()
biodb::BiodbConn$getEntryPageUrl()
biodb::BiodbConn$getId()
biodb::BiodbConn$getMatchingMzField()
biodb::BiodbConn$getMzValues()
biodb::BiodbConn$getNbEntries()
biodb::BiodbConn$getNbPeaks()
biodb::BiodbConn$getSearchableFields()
biodb::BiodbConn$isCompounddb()
biodb::BiodbConn$isDownloadable()
biodb::BiodbConn$isDownloaded()
biodb::BiodbConn$isEditable()
biodb::BiodbConn$isExtracted()
biodb::BiodbConn$isMassdb()
biodb::BiodbConn$isRemotedb()
biodb::BiodbConn$isSearchableByField()
biodb::BiodbConn$isWritable()
biodb::BiodbConn$makeRequest()
biodb::BiodbConn$makesRefToEntry()
biodb::BiodbConn$msmsSearch()
biodb::BiodbConn$print()
biodb::BiodbConn$requiresDownload()
biodb::BiodbConn$searchByName()
biodb::BiodbConn$searchCompound()
biodb::BiodbConn$searchForEntries()
biodb::BiodbConn$searchForMassSpectra()
biodb::BiodbConn$searchMsEntries()
biodb::BiodbConn$searchMsPeaks()
biodb::BiodbConn$searchMzRange()
biodb::BiodbConn$searchMzTol()
biodb::BiodbConn$setDownloadedFile()
biodb::BiodbConn$setEditingAllowed()
biodb::BiodbConn$setMatchingMzField()
biodb::BiodbConn$setWritingAllowed()
biodb::BiodbConn$write()
biodb::BiodbConn$writingIsAllowed()
biodbKegg::KeggConn$wsFind()
biodbKegg::KeggConn$wsList()
new()
New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.
KeggReactionConn$new(...)
...
All parameters are passed to the super class initializer.
Nothing.
clone()
The objects of this class are cloneable with this method.
KeggReactionConn$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.reaction') # Get an entry e <- conn$getEntry('R00105') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.reaction') # Get an entry e <- conn$getEntry('R00105') # Terminate instance. mybiodb$terminate()
This is the entry class for KEGG Reation database.
biodb::BiodbEntry
-> biodb::BiodbTxtEntry
-> biodbKegg::KeggEntry
-> KeggReactionEntry
biodb::BiodbEntry$appendFieldValue()
biodb::BiodbEntry$cloneInstance()
biodb::BiodbEntry$computeFields()
biodb::BiodbEntry$fieldHasBasicClass()
biodb::BiodbEntry$getBiodb()
biodb::BiodbEntry$getDbClass()
biodb::BiodbEntry$getField()
biodb::BiodbEntry$getFieldCardinality()
biodb::BiodbEntry$getFieldClass()
biodb::BiodbEntry$getFieldDef()
biodb::BiodbEntry$getFieldNames()
biodb::BiodbEntry$getFieldValue()
biodb::BiodbEntry$getFieldsAsDataframe()
biodb::BiodbEntry$getFieldsAsJson()
biodb::BiodbEntry$getFieldsByType()
biodb::BiodbEntry$getId()
biodb::BiodbEntry$getName()
biodb::BiodbEntry$getParent()
biodb::BiodbEntry$hasField()
biodb::BiodbEntry$isNew()
biodb::BiodbEntry$makesRefToEntry()
biodb::BiodbEntry$parentIsAConnector()
biodb::BiodbEntry$parseContent()
biodb::BiodbEntry$print()
biodb::BiodbEntry$removeField()
biodb::BiodbEntry$setField()
biodb::BiodbEntry$setFieldValue()
biodb::BiodbTxtEntry$initialize()
clone()
The objects of this class are cloneable with this method.
KeggReactionEntry$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.reaction') # Get an entry e <- conn$getEntry('R00105') # Terminate instance. mybiodb$terminate()
# Create an instance with default settings: mybiodb <- biodb::newInst() # Create a connector conn <- mybiodb$getFactory()$createConn('kegg.reaction') # Get an entry e <- conn$getEntry('R00105') # Terminate instance. mybiodb$terminate()
A class for representing a rectangle.
A class for representing a rectangle.
This class represents a rectangle, used for graphical representation.
Arguments to the constructor are:
left: Coordinate of left border.
right: Coordinate of right border.
top: Coordinate of top border.
bottom: Coordinate of bottom border.
biodbKegg::KeggShape
-> KeggRect
new()
Initialize new instance.
KeggRect$new(left, top, bottom, right, ...)
left
Coordinate of rectangle's left side.
top
Coordinate of rectangle's top side.
bottom
Coordinate of rectangle's bottom side.
right
Coordinate of rectangle's right side.
...
Additional parameters are passed to super class' initializer.
Nothing.
clone()
The objects of this class are cloneable with this method.
KeggRect$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create a rectangle instance r <- KeggRect$new(left=10, top=10, bottom=20, right=30, color='yellow') # Draw a rectangle on current image r$draw()
# Create a rectangle instance r <- KeggRect$new(left=10, top=10, bottom=20, right=30, color='yellow') # Draw a rectangle on current image r$draw()
A class for representing a shape.
A class for representing a shape.
This abstract class represents a shape, used for graphical representation.
Arguments to the constructor are:
label: A text label to associate with the shape.
color: A color, as a character string.
new()
Initialize new instance.
KeggShape$new(label = NA_character_, color = NA_character_)
label
The text label to display.
color
The color to use.
Nothing.
equals()
Test if this shape is the same as another.
KeggShape$equals(other)
other
The other shape to compare with.
TRUE or FALSE.
getLabel()
Gets the label associated with this shape.
KeggShape$getLabel()
The label.
getColor()
Gets the color associated with this shape.
KeggShape$getColor()
The color name as a string.
getRgbColor()
Gets the RGB color associated with this shape.
KeggShape$getRgbColor(alpha = 255)
alpha
The value to use for the alpha channel when building the RGB color object.
The color as an RGB color object.
draw()
Draw the shape on the current image.
KeggShape$draw()
None.
clone()
The objects of this class are cloneable with this method.
KeggShape$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Create a circle instance c <- KeggCircle$new(x=12, y=5, r=3, label='MyCircle') # Create a rectangle instance r <- KeggRect$new(left=10, top=10, bottom=20, right=30, color='yellow')
# Create a circle instance c <- KeggCircle$new(x=12, y=5, r=3, label='MyCircle') # Create a rectangle instance r <- KeggRect$new(left=10, top=10, bottom=20, right=30, color='yellow')