adjust_constraints_to_observed_rates {CoRegFlux} | R Documentation |
Adjust the constraint of the model to observed rates
adjust_constraints_to_observed_rates(model, metabolites_with_rates, exchange_met = build_exchange_met(model), backward_fluxes = "_b", forward_fluxes = "_f")
model |
a genome-scale metabolic model of class modelorg |
metabolites_with_rates |
is a data.frame consisting of the name of the metabolites, their concentrations and rates in mmol/gDW/h. The column name must be "name", "concentrations","rates" |
exchange_met |
Optional. a data.frame as given by build_exchange_met |
backward_fluxes |
Optional. Useful for irreversible model |
forward_fluxes |
Optional. Useful for irreversible model |
Return the model with updated bounds corresponding to the observed rates provided
data("iMM904") metabolites_rates<-data.frame(name=c("D-Glucose","Glycerol"), concentrations=c(16,0),rates=c(-2.81,-8.01)) iMM904_adjusted<-adjust_constraints_to_observed_rates(iMM904, metabolites_rates)