squidpy.pl.nhood_enrichment

squidpy.pl.nhood_enrichment(adata, cluster_key, mode='zscore', annotate=False, method=None, title=None, cmap='viridis', palette=None, cbar_kwargs=mappingproxy({}), figsize=None, dpi=None, save=None, ax=None, **kwargs)[source]

Plot neighborhood enrichment.

The enrichment is computed by squidpy.gr.nhood_enrichment().

Parameters
Return type

None

Returns

Nothing, just plots the figure and optionally saves the plot.