fluxConsistency

findFluxConsistentSubset(model, param, printLevel)[source]

Finds the subset of S that is flux consistent using various algorithms, but fastcc from fastcore by default

Usage

[fluxConsistentMetBool, fluxConsistentRxnBool, fluxInConsistentMetBool, fluxInConsistentRxnBool, model] = findFluxConsistentSubset(model, param, printLevel)

Input

  • model – structure with field:
    • .S - m x n stoichiometric matrix

Optional inputs

  • param – contains:
    • param.epsilon - (1e-4) minimum nonzero mass
    • param.modeFlag - {(0),1} 1 = return flux modes
    • param.method - {‘fastcc’, ‘dc’}
  • printLevel – verbose level

Outputs

  • fluxConsistentMetBoolm x 1 boolean vector indicating flux consistent mets
  • fluxConsistentRxnBooln x 1 boolean vector indicating flux consistent rxns
  • fluxInConsistentMetBoolm x 1 boolean vector indicating flux inconsistent mets
  • fluxInConsistentRxnBooln x 1 boolean vector indicating flux inconsistent rxns
  • model – structure with fields duplicating the single output arguments:
    • .fluxConsistentMetBool
    • .fluxConsistentRxnBool
    • .fluxInConsistentMetBool
    • .fluxInConsistentRxnBool