Update heatmap.r

library -> require