stephenslab / dsc-log-fold-change

dsc to compare approaches to estimating/testing log-fold-change from counts
https://stephenslab.github.io/dsc-log-fold-change/
2 stars 3 forks source link

qvalue function error #17

Open jhsiao999 opened 5 years ago

jhsiao999 commented 5 years ago

I got this error: Error in smooth.spline(lambda, pi0, df = smooth.df)

This issue has been discussed on the qvalue package GitHub site in multiple threads: https://github.com/StoreyLab/qvalue/issues/9 https://github.com/StoreyLab/qvalue/issues/13

qvalue returns this error when the p-value distribution is truncated, i.e., not spanning the entire range of [0,1]. The authors of the qvalue package offers an alternative function qvalue_truncp to estimate qvalue in this situation.

I opened this issue to remind myself to write an errorHandling function for truncated p-value distribution.