I am checking out the complex heatmap links. Looks interesting. Thanks for sharing the useful link.
• 0 views
•
link
Hi friends,
I would like to generate a heatmap something similar to the below image with custom genes. I am using heatmap.2 function in R.
What parameters should I play with to get the labels as in the image.
I would check out ComplexHeatmap (the 3rd plot at the given link). Yes, it will be work to get your head around the concept of the package but it is well worth it. There is by best knowledge no heatmap package that is more customizable or comprehensive than this one.
I am checking out the complex heatmap links. Looks interesting. Thanks for sharing the useful link.
Log in to answer this question.
Have you tried setting the parameter labRow to the value of a vector of rowNames where it contains the names?
..., labRow = rowNames, ...
https://www.rdocumentation.org/packages/gplots/versions/3.0.1.1/topics/heatmap.2
Thanks, Viz. As you mentioned I gave the specific gene names on the rowNames variable and assigned it to labRow. It is printing only those genes. But the gene names are overlapped. I am trying to fix it and it would be great to have gene name protrude with an arrow.