setReactionFunction
sets the reaction function for a reaction.
setReactionFunction(key, fun, mappings = NULL, model = getCurrentModel())
Identify which reaction to edit by specifying it's key, as string. Also supports fragments of keys, if uniquely matching one reaction.
Key of new kinetic function to set, as string. Also supports fragments of keys, if uniquely matching one kinetic function.
Parameter mappings, as named list. Names are the parameters of the kinetic function. Values are either entity keys valid for the specific type of parameter or a numeric value in case of a local parameter.
A model object.
The online article on managing model entities provides some further context.
Other reaction functions:
clearCustomKineticFunctions()
,
deleteKineticFunction()
,
deleteReaction()
,
entity_finders
,
getParameterReferences()
,
getParameters()
,
getReactionMappings()
,
getReactionReferences()
,
getReactions()
,
getValidReactionFunctions()
,
newKineticFunction()
,
newReaction()
,
setParameters()
,
setReactionMappings()
,
setReactions()