Data format to produces a heatmap like this
1
1
Entering edit mode
8.5 years ago
prp291 ▴ 70

Hi,

My question is simple. I am just not just that how to arrange my data matrix to produces a heatmap to show a disticnt band in each tissue (preferential expression) like Figure 4 of this article.

Thanks

RNA-Seq r heatmap • 2.9k views
ADD COMMENT
1
Entering edit mode
ADD REPLY
0
Entering edit mode
8.5 years ago
Alternative ▴ 270

Try to play with different clustering algorithms (i.e ward, ...) and different scales and scale colors when drawing your heatmap. In their methods they say that they used heatmap.2 (R package).

Hint: by limiting the scale, you avoid outliers from messing up with your scale and heatmap colors.

ADD COMMENT
0
Entering edit mode

I tried different clustering algorithm but none of them seems to work for me. Thanks though

ADD REPLY
0
Entering edit mode

Do you know that you have such a structure for your data ? If you know which tissue each row corresponds to, you can just reorder your matrix to group the rows by tissue. If there is a structure corresponding to tissues, it should become apparent (possibly with the proper scaling as Pierre suggested).

ADD REPLY

Login before adding your answer.

Traffic: 2547 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6