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)
Run the code above in your browser using DataLab