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
- fluxConsistentMetBool – m x 1 boolean vector indicating flux consistent mets
- fluxConsistentRxnBool – n x 1 boolean vector indicating flux consistent rxns
- fluxInConsistentMetBool – m x 1 boolean vector indicating flux inconsistent mets
- fluxInConsistentRxnBool – n x 1 boolean vector indicating flux inconsistent rxns
- model –
structure with fields duplicating the single output arguments:
- .fluxConsistentMetBool
- .fluxConsistentRxnBool
- .fluxInConsistentMetBool
- .fluxInConsistentRxnBool
- model –
structure with field: