spatialtis.plotting.cell_interaction#

spatialtis.plotting.cell_interaction(data, use='dot', groupby=None, key='cell_interaction', type_order=None, order=True, plot_value='relationship', **plot_options)[source]#

Visualization of the cell interaction analysis

Parameters
dataAnnData

The AnnData object for plotting.

use{‘dot’, ‘heatmap’}, default: ‘dot’
groupbystr

The key in Config.exp_obs to stratify the data.

keystr

The key that store the analysis results.

type_order: list of str

The list of cell type to show on the plot.

orderbool
plot_value{‘relationship’, ‘statistic’}
**plot_options

Pass to milkviz.dot_heatmap() or milkviz.anno_clustermap().