Last chance! 50% off unlimited learning
Sale ends in
KEGGPathway-class
into
graph.
KEGGpathway2Graph(pathway, genesOnly = TRUE, expandGenes = TRUE)
KEGGPathway-class
KEGG node and edge data is stored in 'nodeData' and 'edgeData' slots
respectively, which can be extracted by getKEGGnodeData
and getKEGGedgeData
.
parseKGML2Graph
sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
kegg.pathway <- parseKGML(sfile)
gR.compact<- KEGGpathway2Graph(kegg.pathway,expandGenes=FALSE)
Run the code above in your browser using DataLab