Description Usage Arguments Details Author(s)
Plots a distance matrix with color coded clusters
1 2 3 4 5 6 7 8 9 10 11 |
x |
n*n (distance) matrix |
cl |
vector determining cluster membership |
value_range |
vector with two elements c(d_min, d_max) determining the possible value range within the matrix. By default this will be the range of values in x. |
ord |
vectors of indices for ordering of the matrix or boolean determining whether the matrix should be ordered |
col |
vector of colors for the distance matrix |
col_cl |
vector of colors or color ramp function for the clusters |
plot_colorbar |
logical determining whether a color bar should be plotted |
... |
further arguments |
Function to plot a distance matrix
Tankred Ott
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.