nichesphere.coloc.cellCatContained#
- nichesphere.coloc.cellCatContained(pair, cellCat)#
Check if a cell group (niche/type/category) is contained in a cell type pair
- Parameters:
pair (list) – cell type list (usually cell type pairs in the form [cellTypeA,cellTypeB])
cellCat (list) – list of cell types in a cell group (niche/type/category)
- Return type:
True or False