KEGGgraph and the problem with the tutorial info

Hi there! I'm new in this community as I'm new with R and happy to deal with it. The aim of my project is to define connections between genes and their pathways, to do this I'm trying to retrieve the pathways from KEGG. Following the KEGGgraph tutorial I figured out with an ERROR that don't understand. Someone of you could help me please?

library(KEGGgraph)
library(KEGGREST)
library(RBGL)
library(org.Hs.eg.db)
library(devtools)

HIF1A_pathways <- c("hsa04066.xml", "hsa04137.xml", "hsa04140.xml",

  •        "hsa04659.xml", "hsa04919.xml", "hsa05167.xml",
    
  •        "hsa05200.xml", "hsa05205.xml", "hsa05208.xml",
    
  •        "hsa05211.xml", "hsa05230.xml", "hsa05231.xml",
    
  •        "hsa05235.xml")
    

HIF1A_pfiles <- system.file(paste("/extdata/", HIF1A_pathways, sep=""), package="KEGGgraph")

mapHIF1A<- parseKGML2Graph("hsa04066.xml",genesOnly = TRUE, expandGenes =TRUE)
Error in if (fileSize < 100L) msg <- paste(msg, "[WARNING] File size (", : **
** missing value where TRUE/FALSE needed

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.