episcanpy.api.pl.prct_overlap

episcanpy.api.pl.prct_overlap(adata, key_1, key_2, norm=False, ax_norm='row', sort_index=False)

% or cell count corresponding to the overlap of different cell types between 2 set of annotations/clusters.

Parameters
adata : AnnData objet

key_1 : observational key corresponding to one cell division/ one set of clusters

key_2 : bservational key corresponding to one cell division/ one set of clusters

norm : normalise the ratio to the cell numbers given the total number of cells per

in key_1 : cluster

Returns

Table containing the ratio of cells within a cluster