saveSBMLR {SBMLR} | R Documentation |
This function converts an SBMLR
model object in R into an SBMLR model definition file.
Rate laws are provided only in string form. Redundancy is eliminated to make the file easier
to edit.
saveSBMLR(model,filename)
model |
The |
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.
Tom Radivoyevitch
Radivoyevitch, T. A two-way interface between limited Systems Biology Markup Language and R. BMC Bioinformatics 5, 190 (2004).
library(SBMLR) curto=readSBMLR(file.path(system.file(package="SBMLR"), "models/curto.r")) saveSBMLR(curto,"curtoR.r") curtoR=readSBMLR("curtoR.r") curto==curtoR summary(curtoR) unlink("curtoR.r")