KEGGEdge-class | 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
: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
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:jitao_david.zhang@roche.com
KGML Manual https://www.genome.jp/kegg/docs/xml/
KEGGNode-class
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.