sc_cluster_res_stability: sc_cluster_res_stability

Description Usage Arguments Examples

View source: R/sc_cluster_stability.R

Description

For a vector of cluster resolutions, compute clusters on a seurat object. Sample the seurat object for a certain number of cells, compute clusters again, and compare the overlapping cells. This intersection is a proxy for stability of the cluster.

Usage

1
2
sc_cluster_res_stability(seurat_obj, cluster_resolutions, verbose = T,
  ...)

Arguments

seurat_obj

A Seurat object where FindClusters has been called.

cluster_resolutions

A numeric vector of cluster resolutions to test.

...

parameters to pass onto sc_cluster_stability

Examples

1
resm <- sc_cluster_res_stability(NucSeq.oligo, cluster_resolutions, n_cells=n_cells, n_bootstrap=n_bootstrap, reduction="inmf", verbose=T)

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