Question: heatmap2 in R, figure doesn't show column name.
gravatar for jeongmeani
21 months ago by
jeongmeani0 wrote:


I have to make Heatmap using microarray data. this data have about 10,000 genes so the figure i made is large that size is 500*35000. the number of samples are 6.

but the column name(sample name) of figure is cut .

my code is


and image is below.

enter image description here

Please help me.

heatmap R • 965 views
ADD COMMENTlink modified 21 months ago by zx87549.1k • written 21 months ago by jeongmeani0

You missed a comma before cexRow and I don't think the one after cexCol=0.9 is needed.

Try to play with notecex, cexRow and cexCol

You want to display 10 000 genes on a single heatmap ? It's ambitious

ADD REPLYlink modified 21 months ago • written 21 months ago by Bastien HervĂ©4.5k
gravatar for Dattatray Mongad
21 months ago by
National Centre for Cell Science, Pune
Dattatray Mongad350 wrote:

Sometimes in graphics device you can't see all stuff from your heatmaps. So, try exporting it in pdf and play with dimensions and margins.

ADD COMMENTlink written 21 months ago by Dattatray Mongad350
Please log in to add an answer.


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