Description Usage Arguments Examples
View source: R/sc_cluster_stability.R
Compute the stability of your single cell clusters. This is done by sampling a number of cells, reclustering, and computing the intersection of the sampled clusters and the original clusters.
1 2 | sc_cluster_stability(seurat_obj, n_cells, n_bootstrap = 10,
cluster_res = F, reduction = "pca", verbose = F)
|
seurat_obj |
A Seurat object where FindClusters has been called. |
n_cells |
The number of cells to sample |
n_bootstrap |
The number of iterations to sample. Default to 10 |
cluster_res |
The resolution of clustering that will be computed for sampled data. If not provided, the resolution used in FindClusters will be used. |
reduction |
The dimensionality reduction for FindNeighbors. Default to pca |
verbose |
Show more information. Default to FALSE. |
1 | sc_cluster_stability(my_seurat, 10000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.