Learn R Programming

tidylearn (version 0.1.0)

plot_distance_heatmap: Create Distance Heatmap

Description

Visualize distance matrix as heatmap

Usage

plot_distance_heatmap(
  dist_mat,
  cluster_order = NULL,
  title = "Distance Heatmap"
)

Value

A ggplot object

Arguments

dist_mat

Distance matrix (dist object)

cluster_order

Optional vector to reorder observations by cluster

title

Plot title