View source: R/utility_functions.R
plot_similarity_matrix | R Documentation |
Order using hierarchical clustering
plot_similarity_matrix(
sim_mat,
method = "average",
palette = "RdBu",
limits = c(-1, 1),
palette_direction = 1,
title = NULL
)
sim_mat |
similarity matrix |
method |
hclust method |
palette |
color distiller palette |
limits |
bounds of similarity |
palette_direction |
set color direction |
title |
plot title |
ggplot
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.