scHopfield.plotting.plot_jacobian_stats_boxplots
- scHopfield.plotting.plot_jacobian_stats_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 Jacobian summary statistics.
Plots distributions of: - Number of positive eigenvalues - Jacobian trace - Rotational part magnitude (if available)
- Parameters:
adata (AnnData) – Annotated data object with computed Jacobian stats
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