Plot a heatmap of the distance matrix using geom_tile.
# S3 method for diffudist
plot(
DM,
col_palette = viridis(n = 11),
log_scale = FALSE,
cex = 1,
show_dendro = TRUE,
title = ""
)
a distance matrix
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.
logical. Default FALSE
numerical value by which text should be magnified (default font size in theme is 11)
If the dendrogram resulting from hclust should be shown. Default TRUE
Title of the plot passed to labs. No title by default.
plot ggplot