plot_distance_heatmap {topolow} | R Documentation |
Plot Distance Matrix Heatmap
Description
Creates heatmap visualization of distance matrix showing patterns and structure in the measurements.
Usage
plot_distance_heatmap(
heatmap_data,
output_file = NULL,
aesthetic_config = new_aesthetic_config(),
layout_config = new_layout_config()
)
Arguments
heatmap_data |
List output from prepare_heatmap_data() |
output_file |
Character. Full path (including filename and extension) where the plot will be saved. If NULL, the plot is not saved. |
aesthetic_config |
Plot aesthetic configuration object |
layout_config |
Plot layout configuration object |
Value
A ggplot object containing:
Heatmap visualization of the distance matrix
Color gradient representing distance values
Title showing matrix completeness percentage
Examples
# 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)
[Package topolow version 1.0.0 Index]