Description Usage Arguments See Also
This adds a standard 1 to 1 (one reactant, one product) reaction with standard fractionation factors to the isopath (for all isotopes that are part of both reactant AND product). Supports reversibility for easy implementation of bi- directional fluxes. This is really intended as a convenience function to make it easy to set up Hayes-type reaction systems. Reaction systems that only have this kind of reaction also have the added benefit of having an analytical solution for steady state. See calculate_steady_state() to make use of this functionalty.
1 2 3 4 5 6 7 8 9 10 11 | add_standard_reaction(
ip,
equation,
name = default_rxn_name(ip),
flux = NULL,
reversibility,
...,
permil = TRUE,
eq_ratio = c("P/S", "S/P"),
abscissa = NULL
)
|
ip |
An isopath object to which this reaction should be added. |
name |
Name of the reaction. Must be unique (i.e. will overwrite an existing reaction of the same name). If omitted (the default), will name the reaction based on the existing number of reactions in the isopath, e.g. "rxn4". |
flux |
The net flux through the reaction - can be a number or expression (referencing variables and parameters in the system) |
reversibility |
The reversibility of the reaction. If this is omitted, the reaction is treated as being completely irreversible if a kinetic fractionation factor ( |
... |
Fractionation factors for the reaction - can be numbers or expressions (referencing other variables and parameters in the system), naming convention: |
permil |
Whether the delta and epsilon values are in permil notation (i.e. all multiplied by 1000) or not. All must be in the same notation. |
eq_ratio |
eq_ratio Whether equilibrium fractionation factors are provided as product / substrate ratios (the default) or substrate / product ratios. |
abscissa |
The reaction loaction. This is used purely for graphical representation (see generate_reaction_diagram). By default, a decent value will be guessed from the existing reactions in the isopath. This works fairly well as long as all reactions after the first one are added to the isopath in an order such that at least one reactant or product is already part of a different reaction in the pathway. |
Other reaction functions:
add_custom_reaction()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.