[R] color palette for heatmap?

2011-01-15 Thread BD
Hi, Does anyone know how I can specify the colors based on the data values in heatmap? I have values ranging from -4 to 25 and I want to specify colors as: -4 = white 0 = white/snow 10 =darkblue 20 = red 25 = dark red the command line that I am currently using is (which is close to what I want

[R] How to Ignore NaN values in Rows when using hclust function in making Heatmap??

2010-09-22 Thread BD
I am making heatmaps for a dataset (~ 300*600 matrix) with the following R script (I am not familiar with R and this is the first time I am using it). library("gplots") library("Cairo") mydata <- read.csv(file="data.csv", header=TRUE, sep=",") rownames(mydata)=mydata$Name mydata <- mydata[,2:297

[R] How to include rows with zeros in all columns when clustering data for heatmap?

2010-09-17 Thread BD
somehow and also need to cluster the data. Is there a way around to do this? BD -- View this message in context: http://r.789695.n4.nabble.com/How-to-include-rows-with-zeros-in-all-columns-when-clustering-data-for-heatmap-tp2544115p2544115.html Sent from the R help mailing list archive at Nabble.com

Re: [R] saving heatmaps in graphical format that can be edited in graphic editor tool

2010-09-08 Thread BD
Thanks! I will try it now. I am using linux too! Bhakti On Wed, Sep 8, 2010 at 11:54 AM, Barry Rowlingson [via R] < ml-node+2531559-939380251-160...@n4.nabble.com > wrote: > On Wed, Sep 8, 2010 at 4:32 PM, BD <[hidden > email]<http://user/SendEmail.jtp?type=node&node

[R] saving heatmaps in graphical format that can be edited in graphic editor tool

2010-09-08 Thread BD
read them to interpret the results and also to edit them with different font/color in corel and may be add other things that could be relevant to my work. So, I guess my question here- is there a way I can make the labels readable in R itself or can I generate a list of the row and col labels (in the