I plot the same set of data with heatmap and heatmap.2 respectively, and got distinctly different profiles. Anybody could explain this? I know heatmap.2 has extra functions, such as color key; but it looks that its imaging algorithm might also be quite different from heatmap. Is it true? Thanks.
Unconfigured Ad
Collapse
X
-
I noticed the same thing some time ago...
heatmap does not use the same colorkey for every row by default. Instead it performs some weird scaling...
This essentially means that the rows are NOT comparable by means of colour, since the scaling is performed independently for every row.
you can try this very easily with the following commands:
x = c(1:10)
a = cbind(x,x,x,x)
a[1,2] = 100
a[1,3] = 1000
heatmap(a)
Here's what the help says:
"By default (scale = "row") the rows are scaled to have mean zero and standard deviation one. There is some empirical evidence from genomic plotting that this is useful. "
set scale = "none" and your results will be comparable.
heatmap(a,scale="none")
heatmap.2(a,trace="none")
Best regards,
René
Latest Articles
Collapse
-
by SEQadmin2
Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.
We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing...-
Channel: Articles
-
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 11:14 AM
|
0 responses
10 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 11:14 AM
|
||
|
Started by SEQadmin2, 09-29-2026, 09:51 AM
|
0 responses
47 views
0 reactions
|
Last Post
by SEQadmin2
09-29-2026, 09:51 AM
|
||
|
Started by SEQadmin2, 09-25-2026, 09:06 AM
|
0 responses
54 views
0 reactions
|
Last Post
by SEQadmin2
09-25-2026, 09:06 AM
|
||
|
Started by SEQadmin2, 09-23-2026, 11:05 AM
|
0 responses
44 views
0 reactions
|
Last Post
by SEQadmin2
09-23-2026, 11:05 AM
|
Comment