Skip to content

Instantly share code, notes, and snippets.

View johannesbjork's full-sized avatar

johannesbjork

View GitHub Profile
@johannesbjork
johannesbjork / heatmap.3.R
Created April 23, 2023 10:03 — forked from tleja/heatmap.3.R
R: Enhanced Heat Map v.3
## original R code $Id: heatmap.2.R 1724 2013-10-11 20:19:22Z warnes $
## updated by Thomas W. Leja: heatmap.3 2013-12-04
## Updates include:
## 1. z-score data transformation prior to the clustering: scale=c("none","row","column")
## 2. option to reassign the extremes within the scaled data: zlim=c(-3,3)
## 3. option to switch off dendrogram reordering: reorder=FALSE
heatmap.3 <- function (x,
## dendrogram control