MATLABSBMLSTRUCTURE_FUNCTIONS\REACTION
The functions allow users to create and work with the SBML Reaction structure.
Function are:
SBMLReaction = Reaction_addModifier(SBMLReaction, SBMLModifier)
Takes
- SBMLReaction, an SBML Reaction structure
- SBMLModifier, an SBML Modifier structure
Returns
- the SBML Reaction structure with the SBML Modifier structure added
SBMLReaction = Reaction_addProduct(SBMLReaction, SBMLProduct)
Takes
- SBMLReaction, an SBML Reaction structure
- SBMLProduct, an SBML Product structure
Returns
- the SBML Reaction structure with the SBML Product structure added
SBMLReaction = Reaction_addReactant(SBMLReaction, SBMLReactant)
Takes
- SBMLReaction, an SBML Reaction structure
- SBMLReactant, an SBML Reactant structure
Returns
- the SBML Reaction structure with the SBML Reactant structure added
Reaction = Reaction_create(level(optional), version(optional) )
Takes
- level, an integer representing an SBML level (optional)
- version, an integer representing an SBML version (optional)
Returns
- a MATLAB_SBML Reaction structure of the appropriate level and version
NOTE: the optional level and version preserve backwards compatibility
a missing version argument will default to L1V2; L2V4 or L3V1
missing both arguments will default to L3V1
SBMLReaction = Reaction_createKineticLaw(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with a new SBML KineticLaw structure added
SBMLReaction = Reaction_createModifier(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with a new SBML ModifierSpeciesReference structure added
SBMLReaction = Reaction_createProduct(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with a new SBML SpeciesReference structure added
SBMLReaction = Reaction_createReactant(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with a new SBML SpeciesReference structure added
compartment = Reaction_getCompartment(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the value of the compartment attribute
fast = Reaction_getFast(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the value of the fast attribute
id = Reaction_getId(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the value of the id attribute
kineticLaw = Reaction_getKineticLaw(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML KineticLaw structure
modifier = Reaction_getListOfModifiers(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- an array of the modifier structures
product = Reaction_getListOfProducts(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- an array of the product structures
reactant = Reaction_getListOfReactants(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- an array of the reactant structures
metaid = Reaction_getMetaid(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the value of the metaid attribute
modifier = Reaction_getModifier(SBMLReaction, index)
Takes
- SBMLReaction, an SBML Reaction structure
- index, an integer representing the index of SBML Modifier structure
Returns
- the SBML Modifier structure at the indexed position
modifier = Reaction_getModifierById(SBMLReaction, id)
Takes
- SBMLReaction, an SBML Reaction structure
- id; a string representing the id of SBML Modifier structure
Returns
- the SBML Modifier structure that has this id
name = Reaction_getName(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the value of the name attribute
num = Reaction_getNumModifiers(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the number of SBML Modifier structures present in the Reaction
num = Reaction_getNumProducts(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the number of SBML Product structures present in the Reaction
num = Reaction_getNumReactants(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the number of SBML Reactant structures present in the Reaction
product = Reaction_getProduct(SBMLReaction, index)
Takes
- SBMLReaction, an SBML Reaction structure
- index, an integer representing the index of SBML Product structure
Returns
- the SBML Product structure at the indexed position
product = Reaction_getProductById(SBMLReaction, id)
Takes
- SBMLReaction, an SBML Reaction structure
- id; a string representing the id of SBML Product structure
Returns
- the SBML Product structure that has this id
reactant = Reaction_getReactant(SBMLReaction, index)
Takes
- SBMLReaction, an SBML Reaction structure
- index, an integer representing the index of SBML Reactant structure
Returns
- the SBML Reactant structure at the indexed position
reactant = Reaction_getReactantById(SBMLReaction, id)
Takes
- SBMLReaction, an SBML Reaction structure
- id; a string representing the id of SBML Reactant structure
Returns
- the SBML Reactant structure that has this id
reversible = Reaction_getReversible(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the value of the reversible attribute
sboTerm = Reaction_getSBOTerm(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the value of the sboTerm attribute
value = Reaction_isSetCompartment(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- value =
- 1 if the compartment attribute is set
- 0 otherwise
value = Reaction_isSetFast(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- value =
- 1 if the fast attribute is set
- 0 otherwise
value = Reaction_isSetId(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- value =
- 1 if the id attribute is set
- 0 otherwise
value = Reaction_isSetKineticLaw(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- value =
- 1 if the kineticLaw structure is set
- 0 otherwise
value = Reaction_isSetMetaid(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- value =
- 1 if the metaid attribute is set
- 0 otherwise
value = Reaction_isSetName(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- value =
- 1 if the name attribute is set
- 0 otherwise
value = Reaction_isSetReversible(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- value =
- 1 if the reversible attribute is set
- 0 otherwise
value = Reaction_isSetSBOTerm(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- value =
- 1 if the sboTerm attribute is set
- 0 otherwise
SBMLReaction = Reaction_setCompartment(SBMLReaction, compartment)
Takes
- SBMLReaction, an SBML Reaction structure
- compartment; a string representing the compartment to be set
Returns
- the SBML Reaction structure with the new value for the compartment attribute
SBMLReaction = Reaction_setFast(SBMLReaction, fast)
Takes
- SBMLReaction, an SBML Reaction structure
- fast, an integer (0/1) representing the value of fast to be set
Returns
- the SBML Reaction structure with the new value for the fast attribute
SBMLReaction = Reaction_setId(SBMLReaction, id)
Takes
- SBMLReaction, an SBML Reaction structure
- id; a string representing the id to be set
Returns
- the SBML Reaction structure with the new value for the id attribute
SBMLReaction = Reaction_setKineticLaw(SBMLReaction, SBMLKineticLaw)
Takes
- SBMLReaction, an SBML Reaction structure
- SBMLKineticLaw, an SBML KineticLaw structure
Returns
- the SBML Reaction structure with the new value for the kineticLaw field
SBMLReaction = Reaction_setMetaid(SBMLReaction, metaid)
Takes
- SBMLReaction, an SBML Reaction structure
- metaid; a string representing the metaid to be set
Returns
- the SBML Reaction structure with the new value for the metaid attribute
SBMLReaction = Reaction_setName(SBMLReaction, name)
Takes
- SBMLReaction, an SBML Reaction structure
- name; a string representing the name to be set
Returns
- the SBML Reaction structure with the new value for the name attribute
SBMLReaction = Reaction_setReversible(SBMLReaction, reversible)
Takes
- SBMLReaction, an SBML Reaction structure
- reversible, an integer (0/1) representing the value of reversible to be set
Returns
- the SBML Reaction structure with the new value for the reversible attribute
SBMLReaction = Reaction_setSBOTerm(SBMLReaction, sboTerm)
Takes
- SBMLReaction, an SBML Reaction structure
- sboTerm, an integer representing the sboTerm to be set
Returns
- the SBML Reaction structure with the new value for the sboTerm attribute
SBMLReaction = Reaction_unsetCompartment(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with the compartment attribute unset
SBMLReaction = Reaction_unsetFast(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with the fast attribute unset
SBMLReaction = Reaction_unsetId(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with the id attribute unset
SBMLReaction = Reaction_unsetKineticLaw(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with the kineticLaw field unset
SBMLReaction = Reaction_unsetMetaid(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with the metaid attribute unset
SBMLReaction = Reaction_unsetName(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with the name attribute unset
SBMLReaction = Reaction_unsetReversible(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with the reversible attribute unset
SBMLReaction = Reaction_unsetSBOTerm(SBMLReaction)
Takes
- SBMLReaction, an SBML Reaction structure
Returns
- the SBML Reaction structure with the sboTerm attribute unset