get_S_mats | R Documentation |
Convert stoichiometric matrix to edge list of reactions
get_S_mats(
all_mods,
species_names,
edge_list = F,
get_bounds = T,
remove_sinks = T
)
all_mods |
List of Cobra-formatted metabolic models |
species_names |
List of species names for each model |
edge_list |
Whether to return the metabolic network as a stoichiometric matrix or edge list |
get_bounds |
Whether to extract information on upper and lower bound constraints (only with edge list) |
remove_sinks |
Remove reactions that have NA as a substrate or product (usually uninformative transporters etc) |
Either a stoichiometric matrix or edge list of reactions
get_S_mats(all_mods, my_species, edge_list = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.