BFAIR.mfa.visualization.plot_all_subsystem_fluxes¶
-
BFAIR.mfa.visualization.plot_all_subsystem_fluxes(sampled_fluxes, reactions, bins=10)[source]¶ Plots the distribution of the sampled values for all reactions in a selected subsytem as a histogram and a normal distribution.
- Parameters
- sampled_fluxespandas.Dataframe
The calculated fluxes, output of sampling. For each reaction, n fluxes will be calculated (n = number of samples taken).
- reactionslist
List of reactions, e.g. output of get_subsytem_reactions().
- binsint
Number of bins used for the histogram. Defaults to 10.
- Returns
- figmatplotlib.Figure
Figure of sampled value distribution for one reaction.