Off topic:How to make R display very small p-values?
0
0
Entering edit mode
3.4 years ago
Star ▴ 60

Hi all,

I am using a built-in function to calculate p-values for a set of genes. However, as an output, for some of the genes I am getting 0. I think its because the number is too small and R outputs it as 0. Any suggestions on how can I get over this? The line where p-value is calculated in function is

p = pchisq(df=df_brown, q=x/c, lower.tail=FALSE)

I came across "Rmpfr" package and then tried to implement it. But the resulting p-value is still 0.

 p = mpfr(pchisq(df=df_brown, q=x/c, lower.tail=FALSE), 120)

Any leads would be highly appreciated. Thanks.

R • 708 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1983 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6