This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Kegg Graph not proper xml

I am new to KEGG graph. I am trying to parse the KGML to get a graph but I get an error saying the KEGG xml is not xml format. Here is my code and error :

library(KEGGgraph)
tcell<- system.file( "extdata/hsa04350.xml", package="KEGGgraph")
map.t<-parseKGML2Graph(tcell)
plot(map.t)

And the error i get on step 3 is:

Error: XML content does not seem to be XML: ''

How can I handle this ?

rna-seq kegg

1 answer

what's the output of

file extdata/hsa04350.xml

if it's not something like:

extdata/hsa04350.xml: XML  document text

then...

I am sorry I did not understand your question. Did you mean output of tcell ?

Thank you so much Pierre, I think I figured out what went wrong :)

Log in to answer this question.