BFAIR.mfa.sampling.split_lumped_reverse_rxns

BFAIR.mfa.sampling.split_lumped_reverse_rxns(lumped_reverse_rxns, fittedFluxes)[source]

For data containing lumped reverse reactions that are speparated by and underscore. This function separated the names and adds a new reaction to the dataframe that is a copy of the data of the lumped reaction.

Parameters
lumped_reverse_rxnspandas.Series or list

Iterable element containing the names of the lumped reverse reactions.

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, now with separated lumped reactions.