Skip to content

Conversation

@ewallace
Copy link

@ewallace ewallace commented Oct 4, 2019

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 describes the problem with truncated p-values causing an error in qvalue, as raised repeatedly in StoreyLab#9
and https://support.bioconductor.org/p/105623/
Hopefully, describing the problem in the help file will make it easier for users to diagnose and fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant