This is an attempted fix of the error where if truncated p-value distributions are input with default parameters, qvalue fails with Error in smooth.spline(lambda, pi0, df = smooth.df).
This error has been raised repeatedlt, in #9, #17 and https://support.bioconductor.org/p/105623/
And I just had the same problem.
I made 2 changes to qvalue:
help file for input p now describes this problem and how to fix it
an extra test in qvalue returns an error code if max(p) < 0.5 and pi0 = NULL
The goal is that users will encounter the error in the doucmentation and fix it quickly without needing to google.
This is an attempted fix of the error where if truncated p-value distributions are input with default parameters, qvalue fails with
Error in smooth.spline(lambda, pi0, df = smooth.df)
. This error has been raised repeatedlt, in #9, #17 and https://support.bioconductor.org/p/105623/ And I just had the same problem.I made 2 changes to qvalue:
p
now describes this problem and how to fix itmax(p) < 0.5
andpi0 = NULL
The goal is that users will encounter the error in the doucmentation and fix it quickly without needing to google.