I am using R and I was encountering problem to calculate p-value for a large z-score for some genes. I used Rmpfr package to make it work using the following code (thanks to this forum)
2*Rmpfr::pnorm(mpfr(abs(38.77589104), precBits=100), lower.tail=FALSE, log.p = FALSE)
6.5625457492544973317295147124225e-329
I enter the above value as 6.56E-329. Now, the problem is when I am trying to read the file containing all p-values, it again reads the above value as 0.
pval <- file$pvalue
pval[1]
[1] 0
pval[1] <- 6.56E-329
pval[1]
[1] 0
I need the exact value for further downstream analysis. Is there a way to read the value as it is in a file?
Much appreciated! Thanks