saveSBML: Saves an SBMLR object to an SBML file.

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

Description

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

Usage

1
saveSBML(model,filename)

Arguments

model

The S3 SBMLR model object.

filename

The name of the SBML file

Details

The output file is SBML level 2.

Value

No value returned.

Warning

SBML events and function definitions are NOT implemented.

Note

The SBML file is written incrementally, rather than first built as a DOM in R and then saved using xmlSave.

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

saveSBMLR

Examples

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


Search within the SBMLR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.