Question: Error in reading sbml file
0
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")


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
modified 9 months ago by Michael Lawrence11k • written 9 months ago by tjal00010
2
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.