A function to plot a heatmap from a symmetric matrix.
Source:R/Pairwise_heatmap.R
Pairwise_heatmap.Rd
A function to plot a heatmap from a symmetric matrix.
Arguments
- dat
Data frame or character string that supplies the input data. If it is a character string, the file should be a csv. If it is a csv, the 1st row should contain the individual/population names. The columns should also be named in this fashion.
- statistic
Character indicating the statistic represented in the matrix, this will be used to label the plot.
- col
Character vector indicating the colors to be used in plotting. The vector should contain two colors, the first will be the low value, the second will be the high value.