Heatmap: row labels & dendogram
2
0
Entering edit mode
danieladna ▴ 110
@danieladna-3992
Last seen 9.7 years ago
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?
• 1.0k views
ADD COMMENT
0
Entering edit mode
Jenny Drnevich ★ 2.0k
@jenny-drnevich-2812
Last seen 28 days ago
United States
Hi Daniela, Have you looked through the documentation for heatmap.2? Do ?heatmap.2 to see it. Many of the questions you've posted could be answered by looking through this documentation. Indeed, heatmap.2 has many, many arguments that can be adjusted to get to get the heatmap plot you want. If you're still having trouble, a better post would be "I tried this code, it gave me X but I want Y", rather than "how do I do Y?" This second type of question doesn't show much effort on your part, therefore posters are less likely to put much effort into a response. HTH, Jenny At 04:19 PM 3/24/2010, Daniela wrote: >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? > >_______________________________________________ >Bioconductor mailing list >Bioconductor at stat.math.ethz.ch >https://stat.ethz.ch/mailman/listinfo/bioconductor >Search the archives: >http://news.gmane.org/gmane.science.biology.informatics.conductor Jenny Drnevich, Ph.D. Functional Genomics Bioinformatics Specialist W.M. Keck Center for Comparative and Functional Genomics Roy J. Carver Biotechnology Center University of Illinois, Urbana-Champaign 330 ERML 1201 W. Gregory Dr. Urbana, IL 61801 USA ph: 217-244-7355 fax: 217-265-5066 e-mail: drnevich at illinois.edu
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
On Wed, Mar 24, 2010 at 5:19 PM, Daniela <danieladna at="" yahoo.com=""> wrote: > 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? Hi, Daniela. 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. Sean > x = matrix(rnorm(1040),nrow=104) > pdf('junk.pdf',height=11,width=8) > heatmap.2(x,dendrogram='none',trace='none') > dev.off() null device 1 > sessionInfo() R version 2.11.0 Under development (unstable) (2009-11-13 r50424) i386-apple-darwin10.2.0 locale: [1] en_US/en_US/C/C/en_US/en_US attached base packages: [1] grid stats graphics grDevices datasets utils methods [8] base other attached packages: [1] gplots_2.7.4 caTools_1.10 bitops_1.0-4.1 gdata_2.6.1 gtools_2.6.1
ADD COMMENT

Login before adding your answer.

Traffic: 674 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6