torchcell.metabolism.yeast_GEM.plot_bipartite_network

plot_bipartite_network(yeast_gem: YeastGEM, reaction_id: str | None = None, output_path: str = 'bipartite_network.png', figsize: tuple[int, int] = (20, 15), show_labels: bool = False) → None[source]

Plot a bipartite network visualization of genes to metabolites.

If reaction_id is provided, only plot that specific reaction’s network.