readSBML: Convert an SBML file into an R object of class SBMLR

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

Description

This function converts an SBML level 2 file into a corresponding R model structure of class SBMLR.

Usage

1
readSBML(filename)

Arguments

filename

An SBML level 2 model input file.

Details

A limited subset of SBML level 2 models is currently supported, e.g. events and function definitions are not covered.

Value

A corresponding SBMLR model object in R.

Author(s)

Tom Radivoyevitch

See Also

readSBMLR

Examples

1
2
3
4
library(SBMLR)
curtoX=readSBML(file.path(system.file(package="SBMLR"), "models/curto.xml"))  
curtoR=readSBMLR(file.path(system.file(package="SBMLR"), "models/curto.r"))  
curtoX==curtoR

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