Learn R Programming

minval (version 0.4)

compartments: Identifies the compartments for a set of metabolites

Description

This function identifies the compartments for a set of compartmentalized metabolites. This function assumes that all your reactions have the following format L-Glutamate[c] <=> CO2[c] + 4-Aminobutanoate[c]

Usage

compartments(metabolites)

Arguments

metabolites
A set of compartimentalized metabolites

Examples

Run this code
# Loading a set of stoichiometric reactions from the glutamate/glutamine cycle
data("glugln")

# For a set of metabolites from stoichiometric reactions
compartments(metabolites(glugln))
# [1] "c_n" "r_n" "m_n" "c_a" "r_a" "m_a"

# For a specific metabolite
compartments("NADH[c]")
# [1] "c"

Run the code above in your browser using DataLab