Learn R Programming

SBMLR (version 1.68.0)

saveSBML: Saves an SBMLR object to an SBML file.

Description

This function converts a class SBMLR model object into an SBML level 2 version 1 file.

Usage

saveSBML(model,filename)

Arguments

model
The S3 SBMLR model object.
filename
The name of the SBML file

Value

No value returned.

Warning

SBML events and function definitions are NOT implemented.

Details

The output file is SBML level 2.

References

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

See Also

saveSBMLR

Examples

Run this code
library(SBMLR)
curtoR=readSBMLR(file.path(system.file(package="SBMLR"), "models/curto.r"))  
saveSBML(curtoR,"curtoR.xml") 
curtoX=readSBML("curtoR.xml")  
curtoX==curtoR
summary(curtoR)
unlink("curtoR.xml")

Run the code above in your browser using DataLab