Description Objects from the Class Slots Methods Author(s) References See Also Examples
A class to represent KEGG pathway
Objects can be created by calls of the form new("KEGGPathway",
...)
. Normally they are created by parseKGML
.
pathwayInfo
: An object of KEGGPathwayInfo-class
nodes
: List of objects of KEGGNode-class
edges
: List of objects of
KEGGEdge-class
reactions
: List of objects of
KEGGReaction-class
signature(object = "KEGGPathway", which =
"ANY")
: KEGGEdges of the pathway
signature(object = "KEGGPathway")
: setting edges
signature(object = "KEGGPathway")
: getting
pathway name
signature(object = "KEGGPathway")
: getting
pathway title
signature(object = "KEGGPathway", value =
"ANY")
: setting nodes
signature(object = "KEGGPathway")
: KEGGNodes of
the pathway
signature(object = "KEGGPathway")
: getting
KEGGPathwayInfo
signature(object = "KEGGPathway")
: getting
title of the pathway
signature(object = "KEGGPathway")
: display method
Jitao David Zhang mailto:jitao_david.zhang@roche.com
KGML Document manual http://www.genome.jp/kegg/docs/xml/
parseKGML
,
KEGGEdge-class
, KEGGNode-class
,
KEGGReaction-class
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## We show how to extract information from KEGGPathway objects
## Parse KGML file into a 'KEGGPathway' object
mapfile <- system.file("extdata/map00260.xml", package="KEGGgraph")
maptest <- parseKGML(mapfile)
## short summary of the pathway
maptest
## get information of the pathway
getPathwayInfo(maptest)
## nodes of the pathway
nodes <- nodes(maptest)
node <- nodes[[3]]
getName(node)
getType(node)
getDisplayName(node)
## edges of the pathway
edges <- edges(maptest)
edge <- edges[[3]]
getEntryID(edge)
getSubtype(edge)
|
Attaching package: ‘KEGGgraph’
The following object is masked from ‘package:graphics’:
plot
The following object is masked from ‘package:base’:
plot
KEGG Pathway
[ Title ]: Glycine, serine and threonine metabolism
[ Name ]: path:map00260
[ Organism ]: map
[ Number ] :00260
[ Image ] :http://www.genome.jp/kegg/pathway/map/map00260.gif
[ Link ] :http://www.genome.jp/dbget-bin/show_pathway?map00260
------------------------------------------------------------
Statistics:
144 node(s)
371 edge(s)
68 reaction(s)
------------------------------------------------------------
[ Title ]: Glycine, serine and threonine metabolism
[ Name ]: path:map00260
[ Organism ]: map
[ Number ] :00260
[ Image ] :http://www.genome.jp/kegg/pathway/map/map00260.gif
[ Link ] :http://www.genome.jp/dbget-bin/show_pathway?map00260
[1] "cpd:C16432"
[1] "compound"
[1] "C16432"
Entry1ID Entry2ID
"17" "81"
$subtype
[ Subtype name ]: compound
[ Subtype value ]: 96
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.