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

Example output

Loading required package: XML
Loading required package: deSolve
$species
     index initialConcentrations boundaryConditions
PRPP  TRUE                  TRUE               TRUE
IMP   TRUE                  TRUE               TRUE
SAMP  TRUE                  TRUE               TRUE
ATP   TRUE                  TRUE               TRUE
SAM   TRUE                  TRUE               TRUE
Ade   TRUE                  TRUE               TRUE
XMP   TRUE                  TRUE               TRUE
GTP   TRUE                  TRUE               TRUE
dATP  TRUE                  TRUE               TRUE
dGTP  TRUE                  TRUE               TRUE
RNA   TRUE                  TRUE               TRUE
DNA   TRUE                  TRUE               TRUE
HX    TRUE                  TRUE               TRUE
Xa    TRUE                  TRUE               TRUE
Gua   TRUE                  TRUE               TRUE
UA    TRUE                  TRUE               TRUE
R5P   TRUE                  TRUE               TRUE
Pi    TRUE                  TRUE               TRUE

$reactions
       index Laws initialFluxes
ada     TRUE TRUE          TRUE
ade     TRUE TRUE          TRUE
adna    TRUE TRUE          TRUE
adrnr   TRUE TRUE          TRUE
ampd    TRUE TRUE          TRUE
aprt    TRUE TRUE          TRUE
arna    TRUE TRUE          TRUE
asuc    TRUE TRUE          TRUE
asli    TRUE TRUE          TRUE
dada    TRUE TRUE          TRUE
den     TRUE TRUE          TRUE
dgnuc   TRUE TRUE          TRUE
dnaa    TRUE TRUE          TRUE
dnag    TRUE TRUE          TRUE
gdna    TRUE TRUE          TRUE
gdrnr   TRUE TRUE          TRUE
gmpr    TRUE TRUE          TRUE
gmps    TRUE TRUE          TRUE
gnuc    TRUE TRUE          TRUE
gprt    TRUE TRUE          TRUE
grna    TRUE TRUE          TRUE
gua     TRUE TRUE          TRUE
hprt    TRUE TRUE          TRUE
hx      TRUE TRUE          TRUE
hxd     TRUE TRUE          TRUE
impd    TRUE TRUE          TRUE
inuc    TRUE TRUE          TRUE
mat     TRUE TRUE          TRUE
polyam  TRUE TRUE          TRUE
prpps   TRUE TRUE          TRUE
pyr     TRUE TRUE          TRUE
rnaa    TRUE TRUE          TRUE
rnag    TRUE TRUE          TRUE
trans   TRUE TRUE          TRUE
ua      TRUE TRUE          TRUE
x       TRUE TRUE          TRUE
xd      TRUE TRUE          TRUE

SBMLR documentation built on Nov. 8, 2020, 6:50 p.m.