readSBMLR {SBMLR} | R Documentation |
This function converts an SBMLR model definition in filename into a corresponding returned SBML model structure.
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 SBML
model object in R.
This function replaces the use of source
in older versions of SBMLR.
It includes rate law and rule string to function, expression and MathML mappings.
Tomas Radivoyevitch (radivot@hal.cwru.edu)
library(SBMLR) library(odesolve) curtoX=readSBML(file.path(system.file(package="SBMLR"), "models/curto.xml")) curtoR=readSBMLR(file.path(system.file(package="SBMLR"), "models/curto.r")) equateModels(curtoX,curtoR)