squidpy.pl.co_occurrence

squidpy.pl.co_occurrence(adata, cluster_key, palette=None, clusters=None, figsize=None, dpi=None, save=None, legend_kwargs=mappingproxy({}), **kwargs)[source]

Plot co-occurrence probability ratio for each cluster.

The co-occurrence is computed by squidpy.gr.co_occurrence().

Parameters
Return type

None

Returns

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