ERROR: The estimated pi0 <= 0. Check that you have valid p-values or use a different range of lambda.

重现错误的代码:

ps <- runif(3e5)
library(qvalue)
ps <- ps[ps < 0.75]
qs <- qvalue(ps)

Error in pi0est(p, ...) :
  ERROR: The estimated pi0 <= 0. Check that you have valid p-values or use a different range of lambda.

seq(0.05, 0.75, 0.05)
 [1] 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 0.55 0.60 0.65 0.70 0.75
qs <- qvalue(ps, lambda = seq(0.05, 0.75, 0.05))

==================================

ERROR: length(lambda)=2. If length of lambda greater than 1, you need at least 4 values.Error in pi0est(p, ...)

if(length(lambda)>1 && length(lambda)<4) {
    if(gui)
    eval(expression(postMsg(paste("ERROR: If length of lambda greater than 1, you need at least 4 values.",
    "\n"))), parent.frame())
    else
    print("ERROR: If length of lambda greater than 1, you need at least 4 values.")
    return(0)
    }
    
=================================

> seq(0.01, max(fisher_pvalues)-0.01, 0.05)
Error in seq.default(0.01, max(fisher_pvalues) - 0.01, 0.05) :
  wrong sign in 'by' argument
> max(fisher_pvalues)
[1] 1.284044e-09

=================================

> seq(min(fisher_pvalues), max(fisher_pvalues)-0.01, 0.05)
Error in seq.default(min(fisher_pvalues), max(fisher_pvalues) - 0.01,  :
  wrong sign in 'by' argument
> min(fisher_pvalues)
[1] 1.284044e-09
>  max(fisher_pvalues)
[1] 1.284044e-09
=================================

From:

https://support.bioconductor.org/p/74637/

最新文章

  1. 0003 64位Oracle11gR2不能运行SQL Developer的解决方法
  2. java集合比较
  3. 2017亚洲VR&amp;AR博览会暨高峰论坛
  4. python-appium识别元素等待时间
  5. EnterpriseLibrary之Caching应用
  6. JAVA 网格布局管理器
  7. codeforces 631A Interview
  8. Android 虚拟机Dalvik、Android各种java包功能、Android相关文件类型、应用程序结构分析、ADB
  9. Word 2016 test
  10. 【PNG格式中文详解】
  11. GBT28181中的RTP
  12. R 语言学习笔记
  13. Java8高中并发
  14. Extjs grid分页多选记忆功能
  15. spring 基于XML和注解的两种事务配置方式
  16. typeof面试题解答
  17. 局域网内通讯APP
  18. Windows 10 IoT Core 17133 for Insider 版本更新
  19. Perl面向对象(3):解构——对象销毁
  20. May 29. 2018 Week 22nd Tuesday

热门文章

  1. 强化学习---A3C
  2. centos下jdk、jre安装
  3. KL距离,Kullback-Leibler Divergence
  4. 开源词袋模型DBow3原理&amp;源码(二)ORB特征的保存和读取
  5. mysql 问题:连不上
  6. 【swiper轮播插件】解决swiper轮播插件触控屏问题
  7. linux下安装mysql(rpm文件安装)
  8. 实现Winform 跨线程安全访问UI控件
  9. hibernate二级缓存ehcache hibernate配置详解
  10. 安装DotNetCore.1.0.0-VS2015Tools.Preview2一直失败,如何解?