A wrapper which carries out HCA and plots a dendrogram colored by the information in a "Spectra" object. All methods for computing the cluster distances are available.
hclust for the underlying function.
hcaScores for similar analysis of PCA scores from a "Spectra" object.
plotHCA for the function that actually does the plotting.