setParameters
applies given values to reaction parameters of the model depending on the key
argument.
setParameters(
key = NULL,
name = NULL,
value = NULL,
mapping = NULL,
data = NULL,
model = getCurrentModel()
)
Identify which reaction parameter to edit by specifying it's key, as string. Also supports fragments of keys, if uniquely matching one reaction parameter.
Parameter is deprecated.
Value to set, as numeric.
Key of global quantity to map to, as string. Also supports fragments of keys, if uniquely matching one global quantity.
A data frame as given by getParameters
which will be applied before the other arguments.
A model object.
Use the key
argument to specify which reaction parameter to modify and any of the other arguments to specify the value to set.
The function is fully vectorized.
If a NA
value is supplied, the model value is kept unchanged.
The online article on managing model entities provides some further context.
getParameters
getParameterReferences
Other reaction functions:
clearCustomKineticFunctions()
,
deleteKineticFunction()
,
deleteReaction()
,
entity_finders
,
getParameterReferences()
,
getParameters()
,
getReactionMappings()
,
getReactionReferences()
,
getReactions()
,
getValidReactionFunctions()
,
newKineticFunction()
,
newReaction()
,
setReactionFunction()
,
setReactionMappings()
,
setReactions()