Learn R Programming

SBMLR (version 1.68.0)

readSBMLR: Convert an SBMLR file into an R model object of class SBMLR

Description

This function converts an SBMLR model file into a corresponding SBMLR model object. This is more than a source-ing: the file is simpler than the object since things are generated, such as, rate law and rule R expressions and functions, and mathML.

Usage

readSBMLR(filename)

Arguments

filename
An SBMLR model definition file.

Value

SBMLR model object.

Details

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

See Also

readSBML

Examples

Run this code
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

Run the code above in your browser using DataLab