Re: [R] Asymmetric colors for heatmap

2005-07-27 Thread Christian . Stratowa
Sorry, my mistake, I did not realize that image() has breaks and that heatmap() inherits from image(). However, I have the following problem, maybe I am doing something wrong. I have defined: mycol <- c("blue1","blue2","blue3","blue4","black","yellow4","yellow3","yellow2","yel low1") breaks<

Re: [R] Asymmetric colors for heatmap

2005-07-27 Thread Christian . Stratowa
n rates, a value of CN=8 > should already display the brightest yellow. > > In Spotfire it is easy to achieve this, especially that CN=2 is always > displayed as black, however, I do not know how to do it in R. > Can you tell me how I have to create the c

[R] Asymmetric colors for heatmap

2005-07-27 Thread Christian . Stratowa
create the colors to achieve this? > > (P.S.: Of course, I could do: snp[snp>8] <- 8, but this will not solve my > problem with asymmetric colors) > > Thank you in advance > Christian Stratowa > > > > > > __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

RE: [R] RE: Comparison of correlation coefficients - Details

2004-07-22 Thread Christian . Stratowa
sample sets? Could an expression such as "corr * (1 - pval)" be used > for normalization? Maybe, it is not possible to normalize correlation > coefficients? Would a barplot comparing the correlation coefficients > between two genes for different tissues be meaningful? (Alternativ

[R] RE: Comparison of correlation coefficients - Details

2004-07-21 Thread Christian . Stratowa
Maybe, it is not possible to normalize correlation coefficients? Would a barplot comparing the correlation coefficients between two genes for different tissues be meaningful? (Alternatively, I have tried to use (1-pval) to calculate the gray-level of the bars.) Any further suggestions would b

[R] Comparison of correlation coefficients

2004-07-13 Thread Christian . Stratowa
n coefficients obtained for different tissues? Thank you in advance for your help. Since in the company I am not subscribed to r-help, could you please reply to me (in addition to r-help) Best regards Christian Stratowa == Christian Stratowa, PhD Boeh

RE: [R] FW: [Fwd: Re: [S] Exact p-values]

2003-02-14 Thread Christian . Stratowa
Dear Spencer Thank you for this extensive explanation of the problem. I was just curious. Best regards Christian == Christian Stratowa, PhD Boehringer Ingelheim Austria Dept NCE Lead Discovery - Bioinformatics Dr. Boehringergasse 5-11 A-1121 Vienna

[R] FW: [Fwd: Re: [S] Exact p-values]

2003-02-14 Thread Christian . Stratowa
Dear all Just for fun, I have just downloaded the paper mentioned below and checked it with R-1.6.1. Everything is ok with exception of Table 2b, where I get always 1 instead of 0.5: > pbinom(1e15,2e15,0.5) [1] 1 Which value should be correct? Best regards Christian Strat

RE: [R] reading non-existent files

2003-01-28 Thread Christian . Stratowa
Dear All Thank you all for your fast help, the solutions that I have received are: file.exists() try() allFiles<-list.files(mydir) Best regards Christian Stratowa == Christian Stratowa, PhD Boehringer Ingelheim Austria Dept NCE Lead Discov

RE: [R] reading non-existent files

2003-01-28 Thread Christian . Stratowa
Great, thank you for the fast reply Regards Christian Stratowa == Christian Stratowa, PhD Boehringer Ingelheim Austria Dept NCE Lead Discovery - Bioinformatics Dr. Boehringergasse 5-11 A-1121 Vienna, Austria Tel.: ++43-1-80105-2470 Fax: ++43-1-80105

[R] reading non-existent files

2003-01-28 Thread Christian . Stratowa
to check for a null pointer analogous to C, so that I can simply skip non-existent filenames? Please do "Reply to all" since in the company I am not subscribed to the R-help list. Thank you in advance Best regards Christian Stratowa ====== Chri