BFAIR.mfa.sampling.combine_split_rxns

BFAIR.mfa.sampling.combine_split_rxns(fittedFluxes)[source]

Checks the flux bounds of forward and reverse rections. If they overlap, then they are are combined into one reaction with the bounds covering both forward and reverse. If the don’t, then their names are noted in a list so they can be processed in a subsequent step.

Parameters
fittedFluxespandas.DataFrame

Dataframe (reimported output of an INCA simulation) that contains the confidence intervals predicted for the model.

Returns
fittedFluxespandas.DataFrame

Updated version of the input, but overlapping forward and reverse reactions are joined.

rxns_to_splitlist

Names of the reactions for which a corresponding reverse reaction should be added to the model.