How to create heatmaps only with DE genes in edgeR
1
0
Entering edit mode
6.6 years ago
Björn ▴ 110

Now I have 20 DE genes out of 500 genes between groups A and B. How can I create heatmaps only with those 20 DE genes? See figure S1 and S3 from the [reference paper][1][1]: http://www.pnas.org/content/113/38/10655 I created figure S1 using heatmap.2 in Rstudio- edgeR.

edgeR heatmap.2 pheatmap DE genes • 2.3k views
ADD COMMENT
0
Entering edit mode
6.6 years ago
Wietje ▴ 240

Have you tried to build a subset with those 20 genes? I assume you have one gene per row in which case you should take a look at this post: Subsetting in R based on row name?

From there on the process should be exactly the same. Does this help you?

ADD COMMENT

Login before adding your answer.

Traffic: 1737 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