Takes a vector of KEGG pathway ids and retrieves graph representation (KGML), and subsequently translates the KEGG IDs for each ndoe into gene ids (SYMBOL or ENSEMBL).
TranslateKEGGPathway(keggpathid, organism = "mmu", geneDB = NULL, identifier = "SYMBOL", keepKGML = FALSE)
character vector of KEGG pathway ids (e.g. "mmu00010")
organism of interest ("mmu" or "hsa") for KGML retrieval
the chosen identifier to use; currently only supports SYMBOL and ENSEMBL usage [default: SYMBOL]
choose whether to keep the .kgml file that is retrieved (default: FALSE)
graphNEL object; for multiple pathways, returns a list of graphNEL objects
res <- TranslateENSEMBL(results(dds)) path <- "mmu00010" TranslateKEGGPathway(path, geneDB = res$SYMBOL, keepKGML = TRUE)