BFAIR.mfa.visualization.get_subsytem_reactions¶
-
BFAIR.mfa.visualization.get_subsytem_reactions(model, subsystem_id)[source]¶ Extracts the names of the reactions in a selected subsytem. Also outputs a list of all the subsytems in the model.
- Parameters
- modelcobra.Model
Metabolic model.
- subsystem_idint
ID of the subsystem the reactions should be extracted from. Can be selected after inspection using show_subsystems().
- Returns
- reactionslist
List of reactions in a selected subsytem.
- subsystemslist
List of subsystems in a model. Input for plot_subsystem_fluxes().