StoreyLab / qvalue

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

Error in smooth.spline(lambda, pi0, df = smooth.df) : missing or infinite values in inputs are not allowed #24

Closed nbbarrientos closed 1 year ago

nbbarrientos commented 4 years ago

Hello,

I am also having the same problem as others have had when the p-values are extremely low. For example, I'm trying to compare my sQTL finding with those from GTEx and wanted to calculate the pi1 statistic to see the proportion of true positive hits in my data. The problem seems to be that the p-values are extremely low; for example: the lowest p-value in my dataset is 3.07e-87 and the highest p-value is 4.06e-4. Therefore, none of my p-values are higher than the upper limit of the lambda vector. I was wondering if modifying the default parameters (lambda = seq(0.05, 0.95, 0.05)) for lambda is an appropriate course of action to solve the problem of handling very low p-values. If this is the case, how would I go about modifying lambda in terms of new parameters?

Thank you, Nelson