Error in reading sbml file
1
0
Entering edit mode
tjal0001 • 0
@tjal0001-20059
Last seen 5.8 years ago

Hi,

I tried to read sbml model using the following commands:

file <- system.file("sbml", "msb2010108-s2.xml", package = "rsbml")
doc <- rsbml_read(file)

But I always get this error: Error: File unreadable.

I tried following commands and it works fine:

doc <- rsbml_read("msb2010108-s2.xml",dom=FALSE)

I even could see the graph nodes and everything is fine. The sbml model is mTOR signalling pathway and it contains a lot of nodes and edges. Verifying if the result of the second code is right or not is not possible. Hence, I appreciate if someone could assist me with the reason behind the error message in the first commands.

Kind Regards,

rsbml R • 966 views
ADD COMMENT
2
Entering edit mode
@michael-lawrence-3846
Last seen 3.0 years ago
United States

The system.file() call is just to get paths to example files installed with the rsbml package. If you have your own file, just pass the correct path, like you already did.

ADD COMMENT

Login before adding your answer.

Traffic: 680 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