Search
Question: Heatmap: row labels & dendogram
0
gravatar for danieladna
7.7 years ago by
danieladna110
danieladna110 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?
ADD COMMENTlink modified 7.7 years ago by Sean Davis21k • written 7.7 years ago by danieladna110
0
gravatar for Jenny Drnevich
7.7 years ago by
Jenny Drnevich1.9k
United States
Jenny Drnevich1.9k wrote:
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 COMMENTlink written 7.7 years ago by Jenny Drnevich1.9k
0
gravatar for Sean Davis
7.7 years ago by
Sean Davis21k
United States
Sean Davis21k wrote:
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 COMMENTlink written 7.7 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: 338 users visited in the last hour