spatialtis.plotting.cell_morphology#
- spatialtis.plotting.cell_morphology(data, groupby=None, key='area', type_order=None, cell_type_key=None, **plot_options)[source]#
Visualization of cell morphology
- 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.
- type_orderlist of str
The list of cell type to show on the plot.
- cell_type_keystr, default:
Config.cell_type_key The column in .obs to store cell types.This will temporarily overwrite the global config.
- **plot_options
Pass to
seaborn.boxplot().