Plotting clusters in a heatmap representation of the cell distances
Plotting clusters in a heatmap representation of the cell distances
This functions plots a heatmap of the distance matrix grouped by clusters. Individual clusters are highlighted with rainbow colors along the x and y-axes.
clustering_method: either "k-means" or "model-based" ("k" and "mb" are also accepted)
hmethod: Agglomeration method used for determining the cluster order from hierarchical clustering of the cluster medoids. This should be one of "ward.D", "ward.D2", "single", "complete", "average". Default is "single".
rseed: Random integer to fix random results.
quiet: if TRUE, intermediary output is suppressed
plot: if TRUE, plots the heatmap; otherwise, just prints cclmo
Returns
Unless otherwise specified, a heatmap and a vector of the underlying cluster order.