Re: [R] FDR

2010-10-07 Thread Jeremy Miles
This is correct. Wikipedia is not bad, and provides some references. Another web page: http://courses.ttu.edu/isqs6348-westfall/images/6348/BonHolmBenHoch.htm Jeremy On 7 October 2010 10:37, wrote: > Dear R users,

[R] FDR

2010-10-07 Thread will . eagle
Dear R users, I am wondering about the following results: > p.adjust(c(0.05,0.05,0.05),"fdr") [1] 0.05 0.05 0.05 > p.adjust(c(0.05,0.04,0.03),"fdr") [1] 0.05 0.05 0.05 Why does p.adjust(..., "fdr") not adjust p-values, if they are constant? Does somebody have an explanation or can point to a ref

[R] FDR for hypergeometric tests

2008-01-15 Thread darteta001
Dear list, I have performed several tests for the hypergeometric distribution using phyper() for some gene annotation categories as follows >phyper(26,830,31042,337, lower.tail=F) >phyper(16,387,31042,337, lower.tail=F) . . . I am only running some selected categories but I would like to cor