Description Objects from the Class Slots Methods Author(s) References See Also Examples
The class to present 'entry' element in KGML files and nodes in KEGG graphs
Objects can be created by calls of the function parseEntry
and is not intended to be directly created by users.
entryID
: entryID, the 'id' attribute of 'entry'
elements in KGML files. In each KGML file the entryID is specified
by auto-increment integers, therefore entryIDs from two individual
KGML files are not unique. However, if 'expandGenes' option is
specified in KEGGpathway2Graph
function, the unique
KEGGID will replace the default integer as the new entryID, which is
unique in biological context
name
:Name of the node
type
:Type of the node, use data(KEGGNodeType)
to see available values
link
:URL link of the node
reaction
:Reaction of the node
map
:Map of the node
graphics
:Graphic details (including display name) of
the node, an object of KEGGGraphics
signature(object = "KEGGNode")
: get
display name
signature(obj = "KEGGNode")
: get entryID,
in case of gene-expanded graphs this is the same as getKEGGID
signature(object = "KEGGNode")
: get KEGGID
signature(object = "KEGGNode")
: get the type of
the node
signature(object = "KEGGNode")
: replace name
signature(obj = "KEGGNode")
: returns
entryID (the same as getEntryID
), for compatibility with KEGGGroup-class
signature(object = "KEGGNode")
: show method
Jitao David Zhang mailto:jitao_david.zhang@roche.com
KGML Document manual http://www.genome.jp/kegg/docs/xml/
1 2 3 4 5 6 7 8 9 10 11 12 | ## We show how to extract information from KEGGNode object
sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
pathway <- parseKGML(sfile)
ns <- nodes(pathway)
node <- ns[[1]]
show(node)
getName(node)
getDisplayName(node)
getEntryID(node)
getKEGGID(node)
|
Attaching package: 'KEGGgraph'
The following object is masked from 'package:graphics':
plot
KEGG Node (Entry '1'):
------------------------------------------------------------
[ displayName ]: C00338
[ Name ]: cpd:C00338
[ Type ]: compound
[ Link ]: http://www.genome.jp/dbget-bin/www_bget?compound+C00338
------------------------------------------------------------
[1] "cpd:C00338"
[1] "C00338"
[1] "1"
[1] "C00338"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.