saveSBMLR: Save an R model object of class SBMLR to a file.

Description Usage Arguments Value Warning Note Author(s) References See Also Examples

Description

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.

Usage

1
saveSBMLR(model,filename)

Arguments

model

The SBMLR model object to be mapped into the SBMLR model definition file.

filename

The file name of the destination SBMLR model definition file.

Value

No value returned.

Warning

SBML events and function definitions are NOT implemented.

Note

Similar to saveSBML, the file is written incrementally.

Author(s)

Tom Radivoyevitch

References

Radivoyevitch, T. A two-way interface between limited Systems Biology Markup Language and R. BMC Bioinformatics 5, 190 (2004).

See Also

saveSBML

Examples

1
2
3
4
5
6
7
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")

mdnestor/SBMLR documentation built on Aug. 28, 2020, 12:06 a.m.