BFAIR.mfa.visualization.plot_subsystem_fluxes¶
-
BFAIR.mfa.visualization.plot_subsystem_fluxes(model, sampled_fluxes, subsystem_id, no_zero_cols=False)[source]¶ Visualizes the distribution of sampled fluxes in a selected subsytem.
- Parameters
- modelcobra.Model
Metabolic model.
- sampled_fluxespandas.Dataframe
The calculated fluxes, output of sampling. For each reaction, n fluxes will be calculated (n = number of samples taken).
- subsystem_idint
ID of the subsystem the reactions should be extracted from. Can be selected after inspection using show_subsystems().
- no_zero_colsboolean
Indicates if columns containing only 0s should be excluded.
- Returns
- figmatplotlib.AxesSubplot
Figure of sampled value distribution for one reaction.