consistant Heatmap image based on number of genes and size of samples? - help
1
0
Entering edit mode
SAURIN ★ 1.1k
@saurin-799
Last seen 10.2 years ago
Hi BioC, is there any function/parameter settings in R/BioC which adjusts the Heatmap image based on sample size and number of genes which needs to be plotted on image. The problem is when I generate Heatmap with : bitmap(file = Hfile, type = "png16m", height = MapH, width = MapW, res = 72, units = "px",pointsize = 16); where Hfile, MapH and MapW are variables I use to generate heatmap image file. (PNG) if samples are 500 and genes are 300 .... it works with certain margin , height, width but if I do.. 500 samples and 4 genes only..the size are too big..I mean its obvious there are less num. of genes to plot..but is there any parameter settings which will adjust image size? Thank you so much in advance, Saurin
• 1.1k views
ADD COMMENT
0
Entering edit mode
@iain-gallagher-2532
Last seen 9.3 years ago
United Kingdom
Hi Saurin You could try the pheatmap function / lib. It tries to pick sensible defaults for heatmaps. best i --- On Thu, 16/12/10, Saurin D. Jani <saurin_jani at="" yahoo.com=""> wrote: > From: Saurin D. Jani <saurin_jani at="" yahoo.com=""> > Subject: [BioC] consistant Heatmap image based on number of genes and size of samples? - help > To: "Bioconductor Bioconductor" <bioconductor at="" stat.math.ethz.ch=""> > Date: Thursday, 16 December, 2010, 14:16 > Hi BioC, > > is there any function/parameter settings in R/BioC which > adjusts the Heatmap image based on sample size and number of > genes which needs to be plotted on image. > > The problem is when I generate Heatmap with : > > bitmap(file = Hfile, type = "png16m", height = MapH, width > = MapW, res = 72, units = "px",pointsize = 16); > > where Hfile, MapH and MapW are variables I use to generate > heatmap image file. (PNG) > > > > if samples are 500 and genes are 300 .... it works with > certain margin , height, width but if I do.. 500 samples and > 4 genes only..the size are too big..I mean its obvious there > are less num. of genes to plot..but is there any parameter > settings which will adjust image size? > > > Thank you so much in advance, > Saurin > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor >
ADD COMMENT

Login before adding your answer.

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