This is a test version of Biostars. For the public version, visit https://www.biostars.org.
complex heatmap

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

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

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.

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

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

0 answers

No answers yet.

Log in to answer this question.