newReaction creates a new reaction.

newReaction(
  reaction,
  name = reaction,
  fun = NULL,
  mappings = NULL,
  model = getCurrentModel()
)

Arguments

reaction

Reaction equation to set, as string.

name

Name to set, as string. Defaults to reaction.

fun

Identify which kinetic function to set by specifying it's key, as string.

mappings

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.

model

a model object

Value

reaction key

Details

The online article on model building provides some further context.