spatialtis.plotting.cell_dispersion#

spatialtis.plotting.cell_dispersion(data, use='dot', groupby=None, type_order=None, key='cell_dispersion', **plot_options)[source]#
Parameters
dataAnnData

The AnnData object for plotting.

use{‘dot’, ‘heatmap’}
groupbystr

The key in Config.exp_obs to stratify the data.

type_orderlist of str

The list of cell type to show on the plot.

keystr

The key that store the analysis results.

**plot_options

Pass to milkviz.dot() and milkviz.anno_clustermap().