stoichiometry: Calculates the stochiometric matrix for a list of reactions.

Description Usage Arguments Value See Also Examples

Description

Calculates the stochiometric matrix for a list of reactions.

Usage

1
2
stoichiometry(reacts, reversible = FALSE, const = NULL,
  sparse = FALSE)

Arguments

reacts

The reaction list to be used.

reversible

Whether the stochiometric matrix can include reversible reactions.

const

A vector of species names that are assumed to be invariant and will be dropped from the stochiometric matrix. The default is not to drop any species.

sparse

Whether the stoichiometric matrix should saved in a sparse format. Reguires the Matrix package to be installed.

Value

The stochiometric matrix with dimension n_s x n_r.

See Also

read_reactions to read a reaction list from a file.

Examples

1
2

cdiener/dycone documentation built on May 13, 2019, 2:41 p.m.