Learn R Programming

minval (version 0.4)

orphan.reactants: Identifies the orphan reactants for a set of stoichometric reactions

Description

This function identifies the orphan reactants (reactants never produced in any reaction) for a set of stoichiometric reactions. Possible candidates to be introduced into the system by exchange reactions or by adding more internal reactions. This function assumes that all your reactions have the following format L-Glutamate[c] <=> CO2[c] + 4-Aminobutanoate[c]

Usage

orphan.reactants(reactionList,byCompartment)

Arguments

reactionList
A set of stoichiometric reactions
byCompartment
A logical value (TRUE/FALSE) if orphans should be reported by compartment

Examples

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

# Identifying orphan reactants from a sample of 100 stoichiometric reactions (*)
orphan.reactants(glugln)
# [1] "alpha-D-Glucose 6-phosphate[r_n]"    
# [2] "water[r_n]"                          
# [3] "2,3-bisphospho-D-glyceric acid[r_n]"
# [4] "GTP[c_n]"                            
# [5] "oxaloacetic acid[m_n]"
# ...
# [28] "diphosphate(4-)[m_a]"

Run the code above in your browser using DataLab