Unsupervised way to choose the optimal clustering resolutions or number of clusters. Perform bootstrapping (repeated random subsampling with replacement) to achieve better estimation of Silhouette score.
1 2 3 4 5 6 7 8 9 10 |
object |
Seurat object. |
cluster_ident |
Identity class of clustering. |
data_from |
By default, data_from = "pca", extract pca embedding as input data matrix. In case of data_from = "expression", extract data from original expression matrix. |
balanced |
Whether or not to perform balanced subsampling, which selects proportional size of cells from each cluster. Default is TRUE. |
iteration |
Number of iterations for bootstrapping. Default = 100. |
subsample.size |
Sample size for bootstrapping. If unspecified, subsample one fifth (1/5) of the total population. |
replace |
Sampling with or without replacement. Default is TRUE. |
verbose |
Display progress information. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.