Search
Question: Display subset of rownames in large heatmap?
0
gravatar for johnlee.johnson
2.2 years ago by
United States
johnlee.johnson0 wrote:

Hi everyone,

I am trying to create a heatmap in R that has about 20,000 rows and I want to display the rownames, which it does by default. The problem is that there are too many rows to display the names correctly, and only about 50 of the rownames have any real meaning. Is there any bioconductor package or a method in R to subset the rownames and have it display only the ones I want? I have tried setting a blank in the rownames, and keep only the rownames I want, but they only show up when I limit the heatmap to about 100 rows or so, and trying to increase the font size does not help.

I would like to keep all 20,000 rows because it shows the genome wide regulation pattern that I'm trying to portray in the figure, but for a subset of genes I'd like to display their approximate position in the heatmap to give a sense of where they fit in the overall pattern.

Thanks!

ADD COMMENTlink written 2.2 years ago by johnlee.johnson0

Hello johnlee.johnson!

It appears that your post has been cross-posted to another site: https://www.biostars.org/p/158613/

This is typically not recommended as it runs the risk of annoying people in both communities.

ADD REPLYlink written 2.2 years ago by Sean Davis21k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 142 users visited in the last hour