BFAIR.mfa.sampling.replace_biomass_rxn_name¶
-
BFAIR.mfa.sampling.replace_biomass_rxn_name(fittedFluxes, biomass_rxn_name, biomass_string='Biomass')[source]¶ Replaces the biomass function name in the INCA simulation results with the biomass funciton name in the metabolic model. This is only relevent if a different model was used as a basis for the MFA simulation.
- Parameters
- fittedFluxespandas.DataFrame
Dataframe (reimported output of an INCA simulation) that contains the confidence intervals predicted for the model.
- biomass_rxn_namestr
Name of the biomass reaction in the metabolic model; the name that should be assigned to the biomass function in fittedFluxes.
- biomass_stringstr
String denoting at least a part of the name of the biomass function in the fittedFluxes dataframe. Preset to “Biomass”.
- Returns
- fittedFluxespandas.DataFrame
Dataframe (reimported output of an INCA simulation) that contains the confidence intervals predicted for the model. Now with same the biomass function name as in the metabolic model.