CSPA | R Documentation |
Performs hierarchical clustering on a stack of consensus matrices to obtain consensus class labels.
CSPA(E, k)
E |
is an array of clustering results. |
k |
number of clusters |
cluster assignments for the consensus class
Derek Chiu
Strehl, A., & Ghosh, J. (2002). Cluster ensembles—a knowledge reuse framework for combining multiple partitions. Journal of machine learning research, 3(Dec), 583-617.
Other consensus functions:
LCA()
,
LCE()
,
k_modes()
,
majority_voting()
data(hgsc)
dat <- hgsc[1:100, 1:50]
x <- consensus_cluster(dat, nk = 4, reps = 4, algorithms = c("hc", "diana"),
progress = FALSE)
CSPA(x, k = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.