Perform leiden subclustering to get cell subtypes
get_subclusters(
container,
ctype,
resolution,
min_cells_group = 50,
small_clust_action = "merge"
)
A vector of cell subclusters.
environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses
character The cell type to do subclustering for
numeric The leiden resolution to use
numeric The minimum allowable cluster size (default=50)
character Either 'remove' to remove subclusters or 'merge' to merge clusters below min_cells_group threshold to the nearest cluster above the size threshold (default='merge')