码迷,mamicode.com
首页 > 其他好文 > 详细

qvalue: Check that you have valid p-values or use a different range of lambda

时间:2017-08-16 23:09:09      阅读:217      评论:0      收藏:0      [点我收藏+]

标签:color   tps   support   org   [1]   ima   use   ror   seq   

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))

 

From:

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

 

qvalue: Check that you have valid p-values or use a different range of lambda

标签:color   tps   support   org   [1]   ima   use   ror   seq   

原文地址:http://www.cnblogs.com/emanlee/p/7376250.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!