Description Usage Arguments Value See Also Examples
mass_action
is mostly used inetrnally to get mass action rates for a
single column of the stochiometric matrix. It does not check whether the
ordering of substrates in the stoichiometry and concs is corrects, so please
make sure that the indices in substrates
and concs
coincide.
1 | mass_action(substrates, concs)
|
substrates |
stoichiometry of the substrates. Must have the same length as concs. |
concs |
The concentrations used for the substrates |
The mass action term
∏_{i \in N^-} S_i^|N_i|
stoichiometry
to generate the stochiometric
matrix from a reaction list. ma_terms
for a wrapper that
calculates all mass-action terms for a stochiometric matrix and also checks
for correct ordering of the substrates.
ma_terms
to calculate all mass-action terms at once.
1 2 3 | data(eryth)
S <- stoichiometry(eryth)
ma1 <- mass_action(S[,1], runif(nrow(S)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.