complex heatmap
0
1
Entering edit mode
10 months ago

Hi all, I created a heatmap and I want to see the genes in specific dendogram groups. To exemplify, I want to see the genes in the highlighted with red box enter image description here

rna-seq complexheatmap • 784 views
ADD COMMENT
0
Entering edit mode

Have you searched the manual thoroughly and read all relevant parts?

ADD REPLY
0
Entering edit mode

I believe I did, to be clear I did splitting in my heatmap I think it is going to be more clear. enter image description here

To do this heatmap, I used Km clustering, so ultimately I would like learn the genes in Cluster 6 for instance.

ADD REPLY
1
Entering edit mode

You're going to have to draw the heatmap (just on a pdf(NULL) while saving the drawn heatmap to an object), then use something like get_row_order (or a similar dendrogram getter) on that object to get the portion you're interested then and then extract the names from that. If you only wish to add those as labels (not sure if that'll look any good), you'll need to use the row_annotation as row_labels cannot be selectively hidden (as far as I am aware at least).

EDIT: Like I said, if you read the manual properly, you'll find the solution more often than not: https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html#get-orders-and-dendrograms-from-heatmap

ADD REPLY
0
Entering edit mode

Also, have you read and tested the suggestions here in a very similar post of yours?

ADD REPLY
0
Entering edit mode

You can make it interactive and click to see the gene names too https://jokergoo.github.io/InteractiveComplexHeatmap/

ADD REPLY

Login before adding your answer.

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