Merge small subclusters into larger ones
merge_small_clusts(con, clusts, min_cells_group)
The subcluster labels with small clusters below the size threshold merged into the nearest larger cluster.
conos Object for the dataset with umap projection and groups as cell types
character The initially assigned subclusters by leiden clustering
numeric The minimum allowable cluster size