Learn R Programming

DataFusionGDM (version 1.3.2)

create_distance_heatmap: Create a heatmap of genetic distances (ggplot2)

Description

Returns a ggplot heatmap of the distance matrix using ggplot2 only (no Bioconductor dependencies).

Usage

create_distance_heatmap(dist_matrix, pop_info)

Value

A ggplot object

Arguments

dist_matrix

Symmetric numeric distance matrix with row/column names

pop_info

Data frame with at least Population and MajorGroup columns