This functions plots a heatmap of the distance matrix grouped by clusters.
clustheatmap(object, final = TRUE, hmethod = "single")Returns a vector of cluster numbers ordered as determined by herarchical clustering of cluster the cluster medoids as depicted in the heatmap.
SCseq class object.
logical. If TRUE, then cells are grouped based on final clusters after outlier identification.
If FALSE, then initial clusters prior to outlier identification are used for grouping. Default is TRUE.
Agglomeration method used for determining the cluster order from hierarchical clustering of the cluster medoids. See hclust function.