Question: PCR Array Heatmap - Scaling and Clustering
gravatar for Biogear230
3.3 years ago by
Hong Kong
Biogear2300 wrote:

Hello everyone,

I have lately been trying to perform heatmap analysis of PCR array data, and have been wondering what the standard approach would be. I first centered the data using the mean, scaled the array and set the heatmap to be scaled by row. I was wondering what would be the best method for scaling and clustering my data.

  1. Is it preferred to center the PCR data using the median or the mean?

  2. When performing the heatmap.2 function, should scale be set to 'none' as the data has been scaled once already?

  3. Why do you obtain different results when using web based PCR array analysis?

  4. Does the default clustering(euclidean) method for heatmap2 generate the best results or should I perform a different method of clustering?

Thank you very much!

Below is the code I used to generate a heatmap:


datatable <- read.table("PCR_Array_Mean.txt")
data <- scale(as.matrix(datatable))

                  key = TRUE, 
                  keysize = 1,
                  key.ylab = NA,
                  key.xlab = NA, 
         = 'none',
                  margins = c(7,10),
pcr heatmap R array • 1.5k views
ADD COMMENTlink modified 3.3 years ago • written 3.3 years ago by Biogear2300
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1583 users visited in the last hour