Description Usage Arguments Details Value Author(s) References See Also Examples
This function uses GPR, kcat, and molecular weights to calculate fluxes according to MOMENT method. MOMENT pairwise OR like MATLAB implementation
1 2 3 |
model |
An object of class |
mod2 |
An object of class |
Kcat |
kcat values in unit 1/S. Contains three slots: reaction id,direction(dirxn),value(val) |
MW |
list of molecular weights of all genes, using function calc_MW, in units g/mol |
selected_rxns |
optional parameter used to select a set of reactions not all, list of react_id |
verboseMode |
An integer value indicating the amount of output to stdout:
0: nothing, 1: status messages, 2: like 1 plus with more details,
3: generates files of the LP problem. |
RHS |
the budget C, for EColi 0.27 |
objVal |
when not null the problem will be to find the minimum budget that give the specified obective value(biomass) |
solver |
Single character string giving the solver package to use. See
|
medval |
median of Kcat values , used for missing values |
Main steps 1- Add variables for all genes 2- for each selected reaction: parse gpr, 3- Add variables accordingly and constraints 4-Add solvant constraint
returns a list containing slots: prob:problem object that contains data and model sol: solution of the problem. geneCol: mapping of genes to variables in the problem.
Abdelmoneim Amer Desouki
Adadi, R., Volkmer, B., Milo, R., Heinemann, M., & Shlomi, T. (2012). Prediction of Microbial Growth Rate versus Biomass Yield by a Metabolic Network with Kinetic Parameters, 8(7). doi:10.1371/journal.pcbi.1002575
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
library(sybilccFBA)
data(iAF1260)
model= iAF1260
data(mw)
data(kcat)
mod2=mod2irrev(model)
uppbnd(mod2)[react_id(mod2)=="R_EX_glc_e__b"]=1000
uppbnd(mod2)[react_id(mod2)=="R_EX_glyc_e__b"]=0
uppbnd(mod2)[react_id(mod2)=="R_EX_ac_e__b"]=0
uppbnd(mod2)[react_id(mod2)=="R_EX_o2_e__b"]=1000
lowbnd(mod2)[react_id(mod2)=="R_ATPM"]=0
sol=cfba_moment(model,mod2,kcat,MW=mw,verbose=2,RHS=0.27,solver="glpkAPI",medval=3600*22.6)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.