compareClusters | R Documentation |
Compare cluster outputs based on various clustering comparison measures.
compareClusters(
se,
func = c("ARI", "AMI", "MARI", "MARIraw", "RI", "NID", "NMI", "NVI"),
digits = 3
)
se |
A |
func |
A string scalar specifying what clustering comparison measure to
compute. See |
digits |
An integer scalar specifying the number of digits to round to. |
A matrix of cluster comparison measures.
data(rings)
spe <- computeBanksy(rings, assay_name = "counts", M = 1, k_geom = c(15, 30))
spe <- runBanksyPCA(spe, M = 1, lambda = 0.2, npcs = 20)
spe <- clusterBanksy(spe, M = 1, lambda = 0.2, resolution = c(0.1, 1))
spe <- connectClusters(spe)
compareClusters(spe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.