clustering changes in complex heatmap everytime
1
0
Entering edit mode
16 months ago

Hi all, I created a heatmap with using row_km option. And I am trying to get rownames in the clusters with row_order() option but everytime I run it gives different heatmap and clustering. Is there any way to do this stable and get one heatmap with one type of clustering? set.seed(123) is set

enter image description here

rnaseq heatmap complex • 1.4k views
ADD COMMENT
0
Entering edit mode

This is strange to me. Just out of curiosity, did you use set.seed(123) right before using Heatmap(..., row_km = ..., column_km = ...)?

BTW, your heatmap looks nice (aesthetically) ;)

Regards,

Nitin N.

ADD REPLY
0
Entering edit mode

firstly, thanks :) I used set.seed(123) just before raw data import which is in the beginning before the data ordering. Should I use just before Heatmap(....)?

ADD REPLY
0
Entering edit mode
16 months ago
Ming Tommy Tang ★ 4.5k

Hi, this exact github issue answers your question https://github.com/jokergoo/ComplexHeatmap/issues/737

ADD COMMENT
0
Entering edit mode

thank you

ADD REPLY

Login before adding your answer.

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