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.
clustheatmap(
object,
clustering_method = "k-means",
hmethod = "single",
rseed = NULL,
quiet = FALSE,
plot = TRUE
)# S4 method for DISCBIO
clustheatmap(
object,
clustering_method = "k-means",
hmethod = "single",
rseed = NULL,
quiet = FALSE,
plot = TRUE
)
Unless otherwise specified, a heatmap and a vector of the underlying cluster order.
DISCBIO
class object.
either "k-means" or "model-based" ("k" and "mb" are also accepted)
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".
Random integer to fix random results.
if `TRUE`, intermediary output is suppressed
if `TRUE`, plots the heatmap; otherwise, just prints cclmo