[R] Problem with duplicates in row.names

2012-09-07 Thread STADLER Frederic
Hello, I am drawing a heatmap with hundreds of genes. Everything work fine, except when I want to had the name of the genes as the row.names with >row.names (a)<-a$Name And there's this things that duplicate are not allowed... How can I do to allow duplicates ??? I don't have the choice I can't

[R] how to save a heatmap.2 in png /jpeg /tiff

2012-09-09 Thread STADLER Frederic
Hey, I am still working on my heat map (for those who are read my previous post about row.names)… Now, I would like to save my heat map.2 in .png or .tiff in order being able to work on the picture in photoshop, but it doesn't work. I'am using (as I have found on some forum) > png("heatmap.2.png)