reaction

reaction[id_String, substrates, products, stoichiometry, revQ]
represents/constructs a reaction. The argument stoichiometry contains the stoichiometric factors (all positive). Argument revQ indicates a reversible reaction if True or an irreversible if False. is assumed if substrates or products are omitted.
r[args]
can be used as a shorthand.
Reversible reactions are defined in the following way
Irreversible reactions are defined in the following way
In[1]:=
Click for copyable input
Reversible reactions are defined in the following way
In[2]:=
Click for copyable input
Out[2]=
Irreversible reactions are defined in the following way
In[3]:=
Click for copyable input
Out[3]=
Query the ID of reaction
Check if a reaction is reversible
Query substrates and products
Query the stoichiometry of a reaction
Query the stoichiometry of a reaction
It is usually easier to use str2mass to define reactions