scHopfield.plotting.plot_energy_components

scHopfield.plotting.plot_energy_components(adata: AnnData, cluster: str, basis: str = 'umap') Figure[source]

Plot all energy components (total, interaction, degradation, bias) for a cluster.

Parameters:
  • adata (AnnData) – Annotated data object

  • cluster (str) – Cluster name

  • basis (str, optional) – Embedding basis

Returns:

Figure with subplots

Return type:

plt.Figure