Entering edit mode
5.3 years ago
bioinforesearchquestions
▴
370
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.
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.