Re: [R] Multivariate hypergeometric distribution version of phyper()

2010-03-30 Thread Charles C. Berry
On Tue, 30 Mar 2010, Karl Brand wrote: Peter, Chuck, Big thanks for your input. I will be following up each and every of your suggestions on the morrow. Something of note though that you may have further thoughts on- phyper() was *specifically* recommneded by BioC responders for my applicati

Re: [R] Multivariate hypergeometric distribution version of phyper()

2010-03-30 Thread Karl Brand
Peter, Chuck, Big thanks for your input. I will be following up each and every of your suggestions on the morrow. Something of note though that you may have further thoughts on- phyper() was *specifically* recommneded by BioC responders for my application in spite of the fact i originally tho

Re: [R] Multivariate hypergeometric distribution version of phyper()

2010-03-30 Thread Peter Ehlers
Karl, I strongly support Chuck's recommendations. If you do still want to compute such probabilities 'by hand', you could consider the lchoose() function which does work for your example. -Peter Ehlers On 2010-03-30 9:55, Charles C. Berry wrote: On Tue, 30 Mar 2010, Karl Brand wrote: Dear R

Re: [R] Multivariate hypergeometric distribution version of phyper()

2010-03-30 Thread Charles C. Berry
On Tue, 30 Mar 2010, Karl Brand wrote: Dear R Users, I employed the phyper() function to estimate the likelihood that the number of genes overlapping between 2 different lists of genes is due to chance. This appears to work appropriately. Now i want to try this with 3 lists of genes which p

[R] Multivariate hypergeometric distribution version of phyper()

2010-03-30 Thread Karl Brand
Dear R Users, I employed the phyper() function to estimate the likelihood that the number of genes overlapping between 2 different lists of genes is due to chance. This appears to work appropriately. Now i want to try this with 3 lists of genes which phyper() does not appear to support. So