KEGGEdge-class: Class 'KEGGEdge'

Description Objects from the Class Slots Methods Author(s) References See Also Examples

Description

A class to represent 'relation' elements in KGML files and edge objects in a KEGG graph

Objects from the Class

Objects are normally created by parseRelation function, which is not intended to be called by user directly

Slots

entry1ID:

The entryID of the first KEGGNode

entry2ID:

The entryID of the second KEGGNode

type:

The type of the relation, see getType-methods

subtype:

The subtype(s) of the edge, a list of KEGGEdgeSubType

Methods

getEntryID

signature(obj = "KEGGEdge"): Get entryIDs of the edge in the order specified by the direction of the edge

getType

signature(object = "KEGGEdge"): Get the relation type

getName

signature(object = "KEGGEdge"): Get the names of edges in the convention of Rgraphviz, 'node1~node2'

show

signature(object = "KEGGEdge"): Show method

Author(s)

Jitao David Zhang mailto:jitao_david.zhang@roche.com

References

KGML Manual http://www.genome.jp/kegg/docs/xml/

See Also

KEGGNode-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
mapfile<- system.file("extdata/map00260.xml", package="KEGGgraph")
maptest <- parseKGML(mapfile)

x <- edges(maptest)[[1]]
class(x)

## examples to extract information from KEGGEdge
getName(x)
getEntryID(x)

getType(x)
getSubtype(x)

subtype <- getSubtype(x)[[1]]
getName(subtype)

KEGGgraph documentation built on July 27, 2017, 2:01 a.m.

Search within the KEGGgraph package
Search all R packages, documentation and source code