similarity_reorder | R Documentation |
given a matrix (maybe a distance matrix), cluster and then re-order using dendsort.
similarity_reorder(
similarity_matrix,
matrix_indices = NULL,
transform = "none",
hclust_method = "complete",
dendsort_type = "min"
)
similarity_matrix |
matrix of similarities |
matrix_indices |
indices to reorder |
transform |
should a transformation be applied to the data first |
hclust_method |
which method for clustering should be used? |
dendsort_type |
how should the reordering be done? (default is "min") |
a dendrogram object. To get the order use order.dendogram
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.