BFAIR.mfa.sampling.split_lumped_rxns

BFAIR.mfa.sampling.split_lumped_rxns(lumped_rxns, fittedFluxes)[source]

For data containing lumped 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_rxnspandas.Series or list

Iterable element containing the names of the lumped 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.