merge_small_clusts: Merge small subclusters into larger ones

View source: R/get_prop_associations.R

merge_small_clustsR Documentation

Merge small subclusters into larger ones

Description

Merge small subclusters into larger ones

Usage

merge_small_clusts(con, clusts, min_cells_group)

Arguments

con

conos Object for the dataset with umap projection and groups as cell types

clusts

character The initially assigned subclusters by leiden clustering

min_cells_group

numeric The minimum allowable cluster size

Value

The subcluster labels with small clusters below the size threshold merged into the nearest larger cluster.


scITD documentation built on Sept. 8, 2023, 5:11 p.m.