StoreyLab / qvalue

R package to estimate q-values and false discovery rate quantities.
109 stars 36 forks source link

NA not accepted #3

Closed nehiljain closed 9 years ago

nehiljain commented 9 years ago

When I use the package to calculate qvalues. The min < 0 & max > 1 condition throws an error when it get NA values in the p value vector.

r p.adjust allows NA values. This should be added to this package.

Thanks :smiley:

ajbass commented 9 years ago

This is important- thanks for pointing it out! I just fixed it so the following functions handle NA values:

Let me know if it works out, Andy