# 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