spatialtis.plotting.spatial_heterogeneity#
- spatialtis.plotting.spatial_heterogeneity(data, groupby=None, key='heterogeneity', **plot_options)[source]#
Visualization of spatial heterogeneity analysis
- Parameters
- dataAnnData
The AnnData object for plotting.
- groupbystr
The key in
Config.exp_obsto stratify the data.- keystr
The key that store the analysis results.
- **plot_options
Pass to
seaborn.boxplot().