parseKGML: KGML file parser

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/parse.R

Description

The function parses KGML files according to the KGML XML documentation.

Usage

1

Arguments

file

Name of KGML file

Details

The function parses KGML file (depending on XML package).

Value

An object of KEGGPathway-class.

Author(s)

Jitao David Zhang mailto:[email protected]

References

KGML Manual http://www.genome.jp/kegg/docs/xml/

See Also

parseEntry, parseRelation, parseReaction, KEGGPathway-class,

Examples

1
2
3
sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
kegg.pathway <- parseKGML(sfile)
kegg.pathway

Example output

Attaching package: 'KEGGgraph'

The following object is masked from 'package:graphics':

    plot

KEGG Pathway
[ Title ]: MAPK signaling pathway
[ Name ]: path:hsa04010
[ Organism ]: hsa
[ Number ] :04010
[ Image ] :http://www.genome.jp/kegg/pathway/hsa/hsa04010.gif
[ Link ] :http://www.genome.jp/dbget-bin/show_pathway?hsa04010
------------------------------------------------------------
Statistics:
	136 node(s)
	171 edge(s)
	0 reaction(s)
------------------------------------------------------------

KEGGgraph documentation built on Nov. 1, 2018, 3:36 a.m.