powered by
Creates heatmap visualization of distance matrix showing patterns and structure in the measurements.
plot_distance_heatmap( heatmap_data, output_file = NULL, aesthetic_config = new_aesthetic_config(), layout_config = new_layout_config() )
A ggplot object containing:
Heatmap visualization of the distance matrix
Color gradient representing distance values
Title showing matrix completeness percentage
List output from prepare_heatmap_data()
Character. Full path (including filename and extension) where the plot will be saved. If NULL, the plot is not saved.
Plot aesthetic configuration object
Plot layout configuration object
# Create sample heatmap data dist_mat <- matrix(rnorm(100), 10, 10) hmap_data <- prepare_heatmap_data(dist_mat) # Create and display the plot object plot_distance_heatmap(hmap_data)
Run the code above in your browser using DataLab