
Make a genetic diversity heat map
Source:R/makeGeneticDiversityHeatmap.R
makeGeneticDiversityHeatmap.RdRenders a red/yellow/green stoplight heat map of breeding-group genetic diversity metrics. Each row is a breeding group and each column is a metric; every cell is colored by its color index, where 1 is red (the problem condition), 2 is yellow (watch), and 3 is green (healthy).
Value
A ggplot object: a geom_tile heat
map with metric headers across the top and group labels down the left,
filled red/yellow/green from the color indices.