View source: R/plotting_diffudist.R
plot_distance_matrix | R Documentation |
Plot a heatmap of the distance matrix using geom_tile.
plot_distance_matrix( DM, col_palette = viridis(n = 11), log_scale = FALSE, cex = 1, show_dendro = TRUE, title = "" )
DM |
a distance matrix |
col_palette |
a colour palette, previously it was set to the 'spectral' palette of brewer.pal but now it is, by default, to the color-blind firendly viridis. |
log_scale |
logical. Default FALSE |
cex |
numerical value by which text should be magnified (default font size in theme is 11) |
show_dendro |
If the dendrogram resulting from hclust should be shown. Default TRUE |
title |
Title of the plot passed to labs. No title by default. |
plot ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.