How to shown genes in the left side in heatmap2 function
1
1
Entering edit mode
6.8 years ago
Mehmet ▴ 820

Dear all,

I would like to ask you. How to shown gene names on the left side of heatmap, while dendrogram is shown on the right side.

R rna-seq RNA-Seq • 2.7k views
ADD COMMENT
2
Entering edit mode
6.8 years ago

Dear Mehmet,

You can do this in ComplexHeatmap by specifying the following parameters to the Heatmap() function:

  • row_names_side="left"
  • row_dend_side="right"

To do this in heatmap.2, I imagine that you would have to edit the base code of the function or just edit the resulting figure in a third-party graphics editor. The manual page for heatmap.2 state definitively that the dendrogram will be generated on the left side.

Kevin

ADD COMMENT

Login before adding your answer.

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