getEntryID-methods | R Documentation |
The method extracts EntryIDs from KEGGNode-class
or
KEGGEdge-class
object(s).
In case of KEGGEdge-class
objects, the entryID of the nodes
involved in the binary are returned as a vector in the order
specified by the direction of the relation, that is, if the
edge is defined as A->B, then the entryID returned from the edge
equals to c(getEntryID(A), getEntryID(B)).
Object of KEGGEdge-class
A wrapper for list of KEGGNode-class
or
KEGGEdge-class
objects
Jitao David Zhang mailto:jitao_david.zhang@roche.com
KGML Document Manual https://www.genome.jp/kegg/docs/xml/
sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph") pathway <- parseKGML(sfile) nodes <- nodes(pathway) node <- nodes[[7]] getEntryID(node) edges <- edges(pathway) edge <- edges[[7]] getEntryID(edge) getEntryID(nodes[1:4]) getEntryID(edges[1:4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.