newReaction
creates a new reaction.
newReaction(
reaction,
name = reaction,
fun = NULL,
mappings = NULL,
model = getCurrentModel()
)
Reaction equation to set, as string.
Name to set, as string. Defaults to reaction.
Identify which kinetic function to set by specifying it's key, as string.
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
reaction key
The online article on model building provides some further context.
Other reaction functions:
clearCustomKineticFunctions()
,
deleteKineticFunction()
,
deleteReaction()
,
entity_finders
,
getParameterReferences()
,
getParameters()
,
getReactionMappings()
,
getReactionReferences()
,
getReactions()
,
getValidReactionFunctions()
,
newKineticFunction()
,
setParameters()
,
setReactionFunction()
,
setReactionMappings()
,
setReactions()