Retrieve list of reactions included in a SBML model.
If sybilSBML was built with a libSBML version, that was not including the FBC plugin, FBC constraints are ignored. Please make sure that you build sybilSBML with the libSBML version containing the FBC plugin (check out installation details).
If sybilSBML was built with a libSBML version, that was not including the Groups plugin, Groups are ignored. Please make sure that you build sybilSBML with the libSBML version containing the Groups plugin (check out installation details).
getSBMLReactionsList(sbmlm)
An object of class '>sbmlPtr
as returned by
getSBMLmodel
. This is basically a pointer to a SBML model.
If the SBML model contains a ListOfReactions section, a list
is
returned:
character vector containing the reaction id's. If no id is given for a
particular reaction, the corresponding value is set to "no_id"
.
character vector containing the reaction names. If
not available, the value is set to the empty string ""
.
logical vector containing the reversible flag of the reactions. If no
reversible flag is given for a particular reaction, the corresponding value
is set to FALSE
.
character vector containing the note strings. If no note is given for a
particular reaction, the corresponding value is set to the empty string
""
.
character vector containing the annotation strings. If no annotation is
given for a particular reaction, the corresponding value is set to the empty
string ""
.
a list containing the reactions reactants.
character vector containing the species reference id's involved as
reactants. If no id is given for a particular species, the corresponding
value is set to "no_id"
.
character vector containing the species id's involved as reactants.
If no id is given for a particular species, the corresponding value is
set to "no_species"
.
numeric vector containing the stoichiometry of the species. If no value
is given for a particular species, the corresponding value is set to
1
.
NULL
.a list containing the reactions products.
character vector containing the species reference id's involved as
products. If no id is given for a particular species, the corresponding
value is set to "no_id"
.
character vector containing the species id's involved as products.
If no id is given for a particular species, the corresponding value is
set to "no_species"
.
numeric vector containing the stoichiometry of the species. If no value
is given for a particular species, the corresponding value is set to
1
.
NULL
.a list containing the reactions parameters.
character vector containing the parameter id's. If no id is given for a
particular parameter, the corresponding value is set to "no_id"
.
numeric vector containing the parameter values. If no value is given
for a particular parameter, the corresponding value is set to 0
.
character vector containing the parameter units. If no unit is given for
a particular parameter, the corresponding value is set to the empty
string ""
.
NULL
.Bornstein, B. J., Keating, S. M., Jouraku, A., and Hucka M. (2008) LibSBML: An API Library for SBML. Bioinformatics 24, 880--881.
getSBMLmodel
, '>sbmlPtr