nichesphere.tl.get_pairCatDFdir

nichesphere.tl.get_pairCatDFdir#

nichesphere.tl.get_pairCatDFdir(niches_df)#

Get dataframe of cell pair to niche pair correspondence

Parameters:

niches_df (pd.Dataframe) – Dataframe of cells, corresponding niche and corresponding niche color

Returns:

pairCatDFdir – dataframe of cell pairs and corresponding niche pairs

Return type:

pd.DataFrame