saveSBMLR {SBMLR} | R Documentation |
This function converts SBML
model object in R into an SBMLR model definition file.
saveSBMLR(model,filename)
model |
The SBML model object to be mapped into the SBMLR model definition file. |
filename |
The file name of the destination SBMLR model definition file. |
No value returned.
SBML events and function definitions are NOT implemented.
Similar to saveSBML, the file is written incrementally.
Tomas Radivoyevitch (radivot@hal.cwru.edu)
Radivoyevitch, T. A two-way interface between limited Systems Biology Markup Language and R. BMC Bioinformatics 5, 190 (2004).
library(SBMLR) library(odesolve) curto=readSBMLR(file.path(system.file(package="SBMLR"), "models/curto.r")) saveSBMLR(curto,file.path(system.file(package="SBMLR"), "models/curtoR.r")) curtoR=readSBMLR(file.path(system.file(package="SBMLR"), "models/curtoR.r")) equateModels(curto,curtoR)