heatmap - changing title size
1
0
Entering edit mode
@lina-hultin-rosenberg-1802
Last seen 9.6 years ago
Hi Marcus and Natalie! Thanks for your reply! I tried that before I send out the mail but for some reason it didn't work, I got an error message saying that the plot could not be found. Now when I tried it again it worked fine!! Problem solved, thanks again! Regards, Lina -----Ursprungligt meddelande----- Fr?n: Marcus Gry Bj?rklund [mailto:marcusgb at kth.se] Skickat: den 12 september 2006 11:09 Till: 'Lina Hultin-Rosenberg'; bioconductor at stat.math.ethz.ch ?mne: RE: [BioC] heatmap - changing title size Hello. I think if you set the par(cex.main=.8) prior to the heatmap call, the size of the title should change to the value selected in the par command. Regards Marcus Marcus Gry Bj?rklund Royal Institute of Technology AlbaNova University Center Department of Molecular Biotechnology 106 91 Stockholm, Sweden www.arrayadvice.se Phone (office): +46 8 553 783 44 Fax: + 46 8 553 784 81 Visiting address: Roslagstullsbacken 21, Floor 3 Delivery address: Roslagsv?gen 30B Web: http://www.biotech.kth.se/molbio/microarray/index.html -----Original Message----- From: bioconductor-bounces@stat.math.ethz.ch [mailto:bioconductor-bounces at stat.math.ethz.ch] On Behalf Of Lina Hultin-Rosenberg Sent: Tuesday, September 12, 2006 10:25 AM To: bioconductor at stat.math.ethz.ch Subject: [BioC] heatmap - changing title size Hi all! I am using the heatmap method to generate a heatmap of gene expression values but I am having problems with some graphical parameters. I would like to change the size of the title since now it is too large to fit into the plotting area. I tried to change cex.main from within the heatmap call but nothing happened and I also tried to change the size by calling par after the heatmap call but that didn't work either. Probably there is an easy solution to this but I can't really figure it out. I would really appreciate some help! Best regards, Lina Hultin Rosenberg Part of the code generating the heatmap ====================================================================== === jpeg(filename=file.name,width=1000,height=600); heatmap(t(exprs(eset.filtered)),scale="column",labRow=samplenames.shor t,main =string.main.hc,col=greenred(80),cex.main=0.8); #par(cex.main=0.8); dev.off(); _______________________________________________ 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
• 5.3k views
ADD COMMENT
0
Entering edit mode
@lina-hultin-rosenberg-1802
Last seen 9.6 years ago
Hi again! Maybe I can ask you another question regarding the heatmap method. In the resulting figure the heatmap covers only small part of the width of the figure, see attached jpeg. Is it possible to make the heatmap a bit wider so that it covers larger part of the figure? Thanks! Regards, Lina -----Ursprungligt meddelande----- Fr?n: bioconductor-bounces at stat.math.ethz.ch [mailto:bioconductor-bounces at stat.math.ethz.ch] F?r Lina Hultin- Rosenberg Skickat: den 12 september 2006 11:21 Till: 'Marcus Gry Bj?rklund'; bioconductor at stat.math.ethz.ch ?mne: Re: [BioC] heatmap - changing title size Hi Marcus and Natalie! Thanks for your reply! I tried that before I send out the mail but for some reason it didn't work, I got an error message saying that the plot could not be found. Now when I tried it again it worked fine!! Problem solved, thanks again! Regards, Lina -----Ursprungligt meddelande----- Fr?n: Marcus Gry Bj?rklund [mailto:marcusgb at kth.se] Skickat: den 12 september 2006 11:09 Till: 'Lina Hultin-Rosenberg'; bioconductor at stat.math.ethz.ch ?mne: RE: [BioC] heatmap - changing title size Hello. I think if you set the par(cex.main=.8) prior to the heatmap call, the size of the title should change to the value selected in the par command. Regards Marcus Marcus Gry Bj?rklund Royal Institute of Technology AlbaNova University Center Department of Molecular Biotechnology 106 91 Stockholm, Sweden www.arrayadvice.se Phone (office): +46 8 553 783 44 Fax: + 46 8 553 784 81 Visiting address: Roslagstullsbacken 21, Floor 3 Delivery address: Roslagsv?gen 30B Web: http://www.biotech.kth.se/molbio/microarray/index.html -----Original Message----- From: bioconductor-bounces@stat.math.ethz.ch [mailto:bioconductor-bounces at stat.math.ethz.ch] On Behalf Of Lina Hultin-Rosenberg Sent: Tuesday, September 12, 2006 10:25 AM To: bioconductor at stat.math.ethz.ch Subject: [BioC] heatmap - changing title size Hi all! I am using the heatmap method to generate a heatmap of gene expression values but I am having problems with some graphical parameters. I would like to change the size of the title since now it is too large to fit into the plotting area. I tried to change cex.main from within the heatmap call but nothing happened and I also tried to change the size by calling par after the heatmap call but that didn't work either. Probably there is an easy solution to this but I can't really figure it out. I would really appreciate some help! Best regards, Lina Hultin Rosenberg Part of the code generating the heatmap ====================================================================== === jpeg(filename=file.name,width=1000,height=600); heatmap(t(exprs(eset.filtered)),scale="column",labRow=samplenames.shor t,main =string.main.hc,col=greenred(80),cex.main=0.8); #par(cex.main=0.8); dev.off(); _______________________________________________ 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 _______________________________________________ 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
ADD COMMENT
0
Entering edit mode
On Tuesday 12 September 2006 06:00, Lina Hultin-Rosenberg wrote: > Hi again! > > Maybe I can ask you another question regarding the heatmap method. In the > resulting figure the heatmap covers only small part of the width of the > figure, see attached jpeg. Is it possible to make the heatmap a bit wider > so that it covers larger part of the figure? I would suggest using the heatmap.2 from the gplots package (available via CRAN) or HeatPlus for some finer control over the plotting and some added niceties. Sean
ADD REPLY
0
Entering edit mode
Thanks for the suggestion, I already started using the heatmap.2 and it works perfect! Regards, Lina -----Ursprungligt meddelande----- Fr?n: bioconductor-bounces at stat.math.ethz.ch [mailto:bioconductor-bounces at stat.math.ethz.ch] F?r Sean Davis Skickat: den 13 september 2006 12:41 Till: bioconductor at stat.math.ethz.ch ?mne: Re: [BioC] heatmap - changing title size On Tuesday 12 September 2006 06:00, Lina Hultin-Rosenberg wrote: > Hi again! > > Maybe I can ask you another question regarding the heatmap method. In the > resulting figure the heatmap covers only small part of the width of the > figure, see attached jpeg. Is it possible to make the heatmap a bit wider > so that it covers larger part of the figure? I would suggest using the heatmap.2 from the gplots package (available via CRAN) or HeatPlus for some finer control over the plotting and some added niceties. Sean _______________________________________________ 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
ADD REPLY

Login before adding your answer.

Traffic: 798 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