7.7 years ago by
On Wed, Mar 24, 2010 at 5:19 PM, Daniela <danieladna at="" yahoo.com="">
> ups, sorry...
> Nevertheless, do you know how I can do this plot but keep the key?
> I can only plot my heatmap if I set key=F...can I maybe move it to
the right or
> to the bottom instead of leaving it totally out?
When you are having problems, it is best to include a reproducible
example, the output of sessionInfo(), as well as relevant error
messages. Also, you'll benefit from carefully reading the
documentation for each function that you are using. The code below
produces a heatmap with 104 rows, readable row and column names, a
key, and no dendrogram, as an example.
> x = matrix(rnorm(1040),nrow=104)
R version 2.11.0 Under development (unstable) (2009-11-13 r50424)
attached base packages:
 grid stats graphics grDevices datasets utils
other attached packages:
 gplots_2.7.4 caTools_1.10 bitops_1.0-4.1 gdata_2.6.1