sc_cluster_stability: sc_cluster_stability

Description Usage Arguments Examples

View source: R/sc_cluster_stability.R

Description

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.

Usage

1
2
sc_cluster_stability(seurat_obj, n_cells, n_bootstrap = 10,
  cluster_res = F, reduction = "pca", verbose = F)

Arguments

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.

Examples

1
sc_cluster_stability(my_seurat, 10000)

smorabit/scicat documentation built on July 23, 2020, 3:57 a.m.