Kegg Graph not proper xml
1
0
Entering edit mode
8.2 years ago

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 • 2.0k views
ADD COMMENT
0
Entering edit mode
8.2 years ago

what's the output of

file extdata/hsa04350.xml

if it's not something like:

extdata/hsa04350.xml: XML  document text

then...

ADD COMMENT
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode

no, use the linux cmd file https://linux.die.net/man/1/file to test the nature of extdata/hsa04350.xml

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2497 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6