Function to get all reactions fluxes that are associated with the metabolite of a given exchange reactions
The generic function findRxnFlux
returns a matrix with the flux for each organism and the reaction that is using the metabolite of the given exchange reaction
findRxnFlux(object, ex, time, print_reactions = FALSE, drop_unused = TRUE) ## S4 method for signature 'Eval' findRxnFlux(object, ex, time, print_reactions = FALSE, drop_unused = TRUE)
object |
An object of class Eval. |
ex |
An exchange reaction of which the metabolite should be shared for in all reactions |
time |
the time point of the simulation which should be considered |
print_reactions |
If true the detailed definition of each reactions is printed |
drop_unused |
If true then inactive reactions will be excluded |
Returns a list with the minimum and maximum substance usage for each time point.
Eval-class
and simEnv
data(Ec_core, envir = environment()) #get Escherichia coli core metabolic model bac <- Bac(Ec_core,deathrate=0.05, minweight=0.05,growtype="exponential") #initialize a bacterium arena <- Arena(n=20,m=20) #initialize the environment arena <- addOrg(arena,bac,amount=10) #add 10 organisms arena <- addSubs(arena,40) #add all possible substances eval <- simEnv(arena,5) fluxlist <- findRxnFlux(eval, "EX_h(e)", 5)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.