Description Usage Arguments Value Examples

Gets the polytope basis for a reaction system. The basis will be normalized such that each vertex has a length of one.

1 2 | ```
polytope_basis(s_matrix, m_terms = rep(1, ncol(s_matrix)),
zero_eq = NA)
``` |

`s_matrix` |
The stochiometric matrix. |

`m_terms` |
The metabolic terms for each reaction. Default to calculation of flux cone. |

`zero_eq` |
An optional matrix of additional equality contraints. Must have as many columns as reactions in 's_matrix'. |

A matrix containing the basis vectors (normalized to a sum of 1) in its columns.

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.