Description Usage Arguments Details Value Author(s) References See Also
The function does several tasks implemented in the KEGGgraph package in sequence to make expanding maps easier.
1 | parseKGMLexpandMaps(file, downloadmethod = "wget", genesOnly = TRUE, localdir,...)
|
file |
A KGML file |
downloadmethod |
passed to |
genesOnly |
logical, should only the genes nodes remain in the returned graph object? |
localdir |
character string, if specified, the function tries to read files with the same base name from a local directory, useful when there are file copies on the client. |
... |
Other parameters passed to |
In KEGG pathways there're usually pathways contained('cross-linked') in other pathways, for example see http://www.genome.jp/kegg/pathway/hsa/hsa04115.html, where p53 signalling pathway contains other two pathways 'apoptosis' and 'cell cycle'. This function parses these pathways (refered as 'maps' in KGML manual), download their KGML files from KEGG FTP website, parse them individually, and merge all the children pathway graphs with the parental pathway into one graph object. The graph is returned as the function value.
Since different graphs does not have unique node identifiers unless the genes are expanded, so by using this function user has to expand the genes. Another disadvantage is that so far due to the implementation, the KEGGnodeData and KEGGedgeData is lost during the merging. This however will probably be changed in the future version.
A directed graph object
Jitao David Zhang jitao_david.zhang@roche.com
KGML Document manual http://www.genome.jp/kegg/docs/xml/
for most users it is enough to use parseKGML2Graph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.