| KEGGEdge-class {KEGGgraph} | R Documentation |
A class to represent 'relation' elements in KGML files and edge objects in a KEGG graph
Objects are normally created by parseRelation function,
which is not intended to be called by user directly
entry1ID:entry2ID:type:getType-methods subtypeName:subtypeValue:signature(obj = "KEGGEdge"): Get entryIDs
of the edge in the order specified by the direction of the edge signature(object = "KEGGEdge"): Get the
relation type signature(object = "KEGGEdge"): Get the names
of edges in the convention of Rgraphviz, 'node1~node2'signature(object = "KEGGEdge"): Show method Jitao David Zhang mailto:j.zhang@dkfz.de
KGML Manual http://www.genome.jp/kegg/docs/xml/
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)