Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/getKEGGPathways.R
Builds a graph for each of the KEGG pathways.
| 1 | 
| path | A  | 
| rootPath | A  | 
| organism | A  | 
| metaTag | A  | 
| pattern | An optional  | 
| verbose | If  | 
If 'path' is supplied, KGML files in this directory are loaded. Otherwise, KGML files are assumed to be in <rootPath>/<metaTag>/"organisms"/<organism>, which mirrors the structure of the KEGG KGML file repository.
A list containing a graph object for each KEGG pathway with at least one edge.
Laurent Jacob, Pierre Neuvial and Sandrine Dudoit
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | library("Rgraphviz")
library("KEGGgraph")
## example of KGML files
path <- system.file("extdata", package="KEGGgraph")
grList <- getKEGGPathways(path=path, verbose=TRUE)
print(grList)
graph <- grList[[1]]
plotKEGGgraph(graph)
## Not run: 
  ## Download all human KGML pathways locally
  pathname <- system.file("downloadScripts", "downloadKeggXmlFiles.R", package="DEGraph")
  source(pathname)
  ## Load some of them
  grList <- getKEGGPathways(pattern="040", verbose=TRUE)
  print(grList)
  graph <- grList[[1]]
  plotKEGGgraph(graph)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.