View source: R/rags2ridgesFused.R
getKEGGPathway | R Documentation |
Download information and graph object of a given pathway from the Kyoto Encyclopedia of Genes and Genomes (KEGG) database.
getKEGGPathway(kegg.id)
kegg.id |
A |
Usage of this function requires an internet connection. The igraph objects
can be obtained with igraph::igraph.from.graphNEL
. The moral graph
can be obtained with gRbase::moralize
. To obtain the adjacency matrix,
use gRbase::as.adjMAT
or igraph::get.adjacency
Returns a list
with entries:
df |
A |
graph |
The KEGG pathway represented
as a |
It is currently necessary to require("KEGGgraph")
(or
require("KEGGgraph")
) due to a bug in KEGGgraph.
Anders Ellern Bilgrau, Carel F.W. Peeters <carel.peeters@wur.nl>, Wessel N. van Wieringen
kegg.target
## Not run:
if (require("KEGGgraph")) {
getKEGGPathway("map04064")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.