spatialtis.cell_components#

spatialtis.cell_components(data, export_key='cell_components', **kwargs)[source]#

Count the proportion of each types of cells in each group.

Parameters
dataAnnData

The AnnData to work with.

export_keystr

The key used to store result.

**kwargs

Config for the analysis, for details check spatialtis.abc.AnalysisBase.