scHopfield.plotting.plot_jacobian_eigenvalue_boxplots

scHopfield.plotting.plot_jacobian_eigenvalue_boxplots(adata: AnnData, cluster_key: str = 'cell_type', order: List[str] | None = None, colors: Dict[str, str] | None = None, figsize: tuple = (15, 15)) Figure[source]

Plot boxplots of positive real and imaginary parts of Jacobian eigenvalues.

Parameters:
  • adata (AnnData) – Annotated data object with computed Jacobian eigenvalues

  • cluster_key (str, optional (default: 'cell_type')) – Key in adata.obs for cluster labels

  • order (list, optional) – Order of clusters to display

  • colors (dict, optional) – Colors for each cluster

  • figsize (tuple, optional (default: (15, 15))) – Figure size

Returns:

Figure with boxplots

Return type:

plt.Figure