readSBML {SBMLR} | R Documentation |
This function converts an SBML level 2 file into a corresponding R model structure of class SBML
.
readSBML(filename)
filename |
An SBML level 2 model input 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 read.SBML
of older versions.
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)