Message-ID: <Prayer.1.3.5.1302201558190.25213@hermes-1.csi.cam.ac.uk>
Date: 2013-02-20T15:58:19Z
From: M.K. Choy
Subject: Heatmap missing in Heatmap.2 output
Hi,
I have a matrix 11x7761245 and I am trying to do clustering, dendrogram and
heatmap. The analysis was completed but only the dendrogram was written in
the jpeg file. The heatmap was missing. May I know if anyone know this
problem?
My script: hc = hclust.vector(x, method="ward") dend = as.dendrogram(hc)
jpeg("Plot2.jpg")
heatmap.2(y,Colv=dend,Rowv=FALSE,dendrogram="column",trace="none",col=rev(heat.colors(30)))
dev.off()
Many thanks,
Munkit
--
Mun-Kit Choy, PhD
Division of Cardiovascular Medicine, Department of Medicine,
Box 110, Level 6, Addenbrooke's Centre for Clinical Investigation (ACCI),
Addenbrooke's Hospital, Hills Road, Cambridge CB2 0QQ, United Kingdom.
Tel: +44 1223 746298
Fax: +44 1223 331505