plot_distance_heatmap: Create Distance Heatmap

View source: R/visualization.R

plot_distance_heatmapR Documentation

Create Distance Heatmap

Description

Visualize distance matrix as heatmap

Usage

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

Arguments

dist_mat

Distance matrix (dist object)

cluster_order

Optional vector to reorder observations by cluster

title

Plot title

Value

A ggplot object


tidylearn documentation built on Feb. 6, 2026, 5:07 p.m.