标签: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