newSpecies
creates a new species.
newSpecies(
name,
compartment = NULL,
type = c("reactions", "fixed", "assignment", "ode"),
initial_concentration = NULL,
initial_number = NULL,
initial_expression = NULL,
expression = NULL,
model = getCurrentModel()
)
string
compartment key
string
number
number
Initial expression to set, as string, finite numeric, or logical.
Expression to set, as string, finite numeric, or logical.
a model object
species key
Arguments priority from lowest to highest is initial_concentration
, initial_number
, initial_expression
.
The online article on model building provides some further context.
Other species functions:
deleteSpecies()
,
entity_finders
,
getSpeciesReferences()
,
getSpecies()
,
setSpecies()