patpy.pp.filter_small_cell_groups

patpy.pp.filter_small_cell_groups#

patpy.pp.filter_small_cell_groups(adata, sample_key, cell_group_key, cluster_size_threshold=5)#

Leave only cell groups with not less than cluster_size_threshold cells