readSBMLR {SBMLR} | R Documentation |
This function converts an SBMLR model file into a corresponding SBMLR model object. This is more than a source-ing: the file is simpler than the object since things are generated, such as, rate law and rule R expressions and functions, and mathML.
readSBMLR(filename)
filename |
An SBMLR model definition file. |
A limited subset of SBML level 2 models is currently supported, e.g. events and function definitions are not covered.
A corresponding SBMLR
model object.
This function replaces the use of source
in older versions of SBMLR.
It converts rate law and rule strings to R functions and expressions and to MathML.
Tom Radivoyevitch
library(SBMLR) curtoX=readSBML(file.path(system.file(package="SBMLR"), "models/curto.xml")) curtoR=readSBMLR(file.path(system.file(package="SBMLR"), "models/curto.r")) curtoX==curtoR