scHopfield.plotting.plot_energy_landscape

scHopfield.plotting.plot_energy_landscape(adata: AnnData, cluster: str, basis: str = 'umap', ax: Axes | None = None, **kwargs) Axes[source]

Plot energy landscape on embedding space.

Parameters:
  • adata (AnnData) – Annotated data object with energy embedding

  • cluster (str) – Cluster name

  • basis (str, optional) – Embedding basis

  • ax (plt.Axes, optional) – Axes to plot on

Returns:

Axes with plot

Return type:

plt.Axes