File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ % Generated by roxygen2 (4.1.1 ): do not edit by hand
2+ % Please edit documentation in R / model_utility.R
3+ \name {stoichiometry }
4+ \alias {stoichiometry }
5+ \title {Calculates the stochiometric matrix for a list of reactions. }
6+ \usage {
7+ stoichiometry(reacts , reversible = FALSE , const = NULL , sparse = FALSE )
8+ }
9+ \arguments {
10+ \item {reacts }{The reaction list to be used. }
11+
12+ \item {reversible }{Whether the stochiometric matrix can include reversible
13+ reactions. }
14+
15+ \item {const }{A vector of species names that are assumed to be invariant and
16+ will be dropped from the stochiometric matrix. The default is not to drop
17+ any species. }
18+
19+ \item {sparse }{Whether the stoichiometric matrix should saved in a sparse
20+ format. Reguires the \code {Matrix } package to be installed. }
21+ }
22+ \value {
23+ The stochiometric matrix with dimension n_s x n_r.
24+ }
25+ \description {
26+ Calculates the stochiometric matrix for a list of reactions.
27+ }
28+ \examples {
29+ data(eryth )
30+ S <- stoichiometry(eryth )
31+ }
32+ \seealso {
33+ \code {\link {read_reactions }} to read a reaction list from a file.
34+ }
35+ \keyword {stoichiometry }
36+
You can’t perform that action at this time.
0 commit comments