powered by
Performs hierarchical clustering on a stack of consensus matrices to obtain consensus class labels.
CSPA(E, k)
cluster assignments for the consensus class
is an array of clustering results.
number of clusters
Derek Chiu
Other consensus functions: LCA(), LCE(), k_modes(), majority_voting()
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)
Run the code above in your browser using DataLab