BFAIR.mfa.visualization.sampled_fluxes_minrange¶
-
BFAIR.mfa.visualization.sampled_fluxes_minrange(sampled_fluxes, min_val, max_val)[source]¶ Sometimes the sampled fluxes include very small predicted fluxes for a lot of different reactions. They might be relevant but can easily overwhealm plots. This function reduces the subset of fluxes regarded for plots.
- Parameters
- sampled_fluxespandas.Dataframe
The calculated fluxes, output of sampling. For each reaction, n fluxes will be calculated (n = number of samples taken).
- min_valfloat, int
Min value for excluded subset.
- max_valfloat, int
Max value for excluded subset.
- Returns
- sampled_fluxespandas.Dataframe
Reduced subset of the input.