adjust_constraints_to_observed_rates: Adjust the constraint of the model to observed rates

Description Usage Arguments Value Examples

Description

Adjust the constraint of the model to observed rates

Usage

1
2
3
adjust_constraints_to_observed_rates(model, metabolites_with_rates,
  exchange_met = build_exchange_met(model), backward_fluxes = "_b",
  forward_fluxes = "_f")

Arguments

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

Value

Return the model with updated bounds corresponding to the observed rates provided

Examples

1
2
3
4
5
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)

i3bionet/CoRegFlux documentation built on May 31, 2019, 1:50 a.m.