Description Usage Arguments Examples
View source: R/BottomUpMerge.R
This function generates clusterings by iteratively merging two nearest clusters for a Seurat object. It generates an initial clustering with the number of clusters (k) >= k.max using Seurat SNN clustering. Then iteratively merge two clusters with the nearest centers to generate the clustering with k-1 clusters. Finally, it returns k.max clusterings with k = 1 to k.max.
1 | BottomUpMerge(sobj, k.max, npc, random.seed)
|
sobj |
Seurat object |
k.max |
the maximal number of clusters |
npc |
the number of top principal components used for Seurat SNN clustering |
random.seed |
the random seed set for Seurat SNN clustering |
1 | BottomUpMerge(sobj, k.max, npc, random.seed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.