[R] Please help with creating the improved image with pheatmap package
dwinsemius at comcast.net
Mon Oct 3 22:56:07 CEST 2016
> On Oct 3, 2016, at 4:43 AM, maryam moazam <setareh227 at gmail.com> wrote:
> Hi all,
> I'm trying to show about 190 items using "pheatmap" package. I'm working
> with R 3.3.1 on windows 7. I used the following code:
> pheatmap(mat_data, cellwidth=20, cluster_rows = FALSE, cluster_cols =
> FALSE, fontsize=5, fontsize_row=5, margins=c(5,10))
> The resulted image is attached. Please take a look at it. As you could see,
> the image quality is not good, in fact, the label of each row has not been
> appropriately shown at all in the picture. Could you please help me how I
> can modify the code to improve the image?
If png() is your desired target then you probably will want to set different plotting parameters since your image is so tall.
?png # guessing you need to set 'height' much higher
?points # good examples of low-level control
> Thank you very much in advance
> Best regards,
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Alameda, CA, USA
More information about the R-help