scSemiProfiler.utils.composition_by_group

scSemiProfiler.utils.composition_by_group(adata, colormap=None, groupby=None, title='Cell type composition', save=None)[source]

Visualizing the cell type composition in each group.

Parameters
Return type

None

Returns

None

Example

>>> groupby = 'states_collection_sum'
>>> composition_by_group(
>>>     adata = gtdata,
>>>     groupby = groupby,
>>>     title = 'Ground truth'
>>>     )