Return the hierarchical clustering order of a matrix
Arguments
- matrix
Matrix to cluster.
- dist_method
Distance method to apply to the matrix. Argument is directly passed into stats::dist. Options include "euclidean", "maximum", "manhattan", "canberra", "binary", or "minkowski".
- hclust_method
Which agglomerative method to be passed into stats::hclust. Options include "ward.D", "ward.D2", "single", "complete", "average", "mcquitty", "median", or "centroid".