Esteemed R user's,

I'm struggling to achieve some details of a heatmap using heatmap.2():

1. Change label locations, for both rows & columns from the default right & bottom, to left and top. Can this be done within heatmap.2()? Or do i need to suppress this default behavior (how) and call a new function to relabel (what) specifying locations?

2. Change the angle of the labels.
By default column labels are 90deg anti-clock-wise from horizontal. How to bring them back to horizontal? Or better, rotate 45deg clock-wise from horizontal (ie., rotate 135deg a.clock.wise from default)?

Any suggestions or pointers to helpful resources greatly appreciated,

Karl

--
Karl Brand
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
T +31 (0)10 704 3457 |F +31 (0)10 704 4743 |M +31 (0)642 777 268

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to