connectClusters | R Documentation |
Relabel cluster labels across parameter runs to maximise their similarity.
connectClusters(se, map_to = NULL, verbose = TRUE)
se |
A |
map_to |
A string scalar specify a cluster to map to. |
verbose |
A logical scalar specifying verbosity. |
A SpatialExperiment / SingleCellExperiment / SummarizedExperiment
object with 'connected' cluster labels in colData(se)
.
data(rings)
spe <- computeBanksy(rings, assay_name = "counts", M = 1, k_geom = c(15, 30))
spe <- runBanksyPCA(spe, M = 1, lambda = c(0, 0.2), npcs = 20)
spe <- clusterBanksy(spe, M = 1, lambda = c(0, 0.2), resolution = 1)
spe <- connectClusters(spe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.