scHopfield.plotting.plot_jacobian_element_grid
- scHopfield.plotting.plot_jacobian_element_grid(adata: AnnData, gene_pairs: List[tuple], ncols: int = 2, figsize: tuple | None = None, **scatter_kwargs) Figure[source]
Plot grid of Jacobian elements (partial derivatives) on UMAP.
This function requires dynamo for UMAP plotting. Each subplot shows df_i/dx_j for a gene pair (i, j).
- Parameters:
adata (AnnData) – Annotated data object with computed Jacobian elements
gene_pairs (list of tuples) – List of (gene_i, gene_j) pairs to plot
ncols (int, optional (default: 2)) – Number of columns in grid
figsize (tuple, optional) – Figure size. If None, auto-calculated
**scatter_kwargs – Additional arguments passed to plotting function
- Returns:
Figure with grid of plots
- Return type:
plt.Figure