Question: Error in reading sbml file
0
gravatar for tjal0001
9 months ago by
tjal00010
tjal00010 wrote:

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 • 139 views
ADD COMMENTlink modified 9 months ago by Michael Lawrence11k • written 9 months ago by tjal00010
Answer: Error in reading sbml file
2
gravatar for Michael Lawrence
9 months ago by
United States
Michael Lawrence11k wrote:

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 COMMENTlink written 9 months ago by Michael Lawrence11k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 325 users visited in the last hour