nichesphere.tl.PIC_BGdoubletsOEratios#
- nichesphere.tl.PIC_BGdoubletsOEratios(adata_singlets, annot_col)#
Generate distribution of O/E ratios for colocalization probabilities of cell type pairs in randomly generated doublets (background dist) for tests in PIC-seq data
- Parameters:
adata_singlets (AnnData) – anndata object containing singlets (scRNA-seq) data
annot_col (str) – name of the cell type annotation column in the anndata object obs
- Returns:
OEratios – distribution of O/E ratios for colocalization probabilities of cell type pairs in randomly generated doublets
- Return type:
pd.Series