View source: R/find_clusters.R
find_clusters | R Documentation |
Find cell clusterd using igraph.
find_clusters( sce, use_dimred = "PCA", seed = 100, snn_k = 10, snn_type = c("rank", "number", "jaccard"), ncores = 1, method = c("walktrap", "spinglass", "louvain"), steps = 4, spins = 25, min_member = 20, prefix = NULL, plot = TRUE, verbose = TRUE )
sce |
A SingleCellExperiment object containing expression values, usually counts. |
use_dimred |
A string specifying whether existing values in |
seed |
Random seed. |
snn_k |
The number of nearest neighbors to consider during graph construction. |
snn_type |
The type of weighting scheme to use for shared neighbors. |
ncores |
Number of cores. |
method |
"walktrap", "spinglass", or "louvain" for finding communities in graphs via short random walks, a spin-glass model and simulated annealing, or multi-level modularity optimization. |
steps |
The length of the random walks to perform. |
spins |
Integer constant, the number of spins to use. This is the upper limit for the number of communities. It is not a problem to supply a (reasonably) big number here, in which case some spin states will be unpopulated. |
min_member |
Minimal number of cluster members. |
prefix |
Prefix for file name for the QC metrics histograms. |
plot |
TRUE/FASLE for whether plot the QC metrics histograms. |
verbose |
TRUE/FASLE for specifying whether diagnostics should be printed to screen. |
A SingleCellExperiment object with cell cluster information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.