I would like to draw a heatmap of an interrelationship matrix to show the distance from 1
.
I have made a heatmap as below, but I would like to have the colour
defined according to the distance from 1
; the further the number, the lighter the color would be.
library(pheatmap)
pheatmap(Interrelation, cluster_rows = FALSE, cluster_cols = FALSE)