| getType-methods {KEGGgraph} | R Documentation |
This method can be used to extract generic type attribute from several objects implemented in KEGGgraph package.
The meanings and descriptions of the types can be found at KGML manual listed in the reference.
KEGGEdge-class KEGGNode-class KEGGReaction-class 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)
## node type
node <- nodes(maptest)[[3]]
getType(node)
## edge type
edge <- edges(maptest)[[5]]
getType(edge)
## reaction type
reaction <- getReactions(maptest)[[5]]
getType(reaction)