What you're doing makes no sense. Given p-values p_i, i=1...n, resulting
from hypothesis tests t_i, i=1...n, the q-value of p_i is the expected
proportion of false positives among all n tests if the significance level
of each test is α=p_i. Thus a q-value is only defined for an observed
p-value.
Jim,
Thanks for the reply. Yes I'm just playing around with the data at the
minute, but regardless of where the p values actually come from, I can't
seem to get a Q value that makes sense.
For example, in one case, I have an actual P value of 0.05. I have a list
of 1,000 randomised p values: ran
Hi Tom,
>From a quick scan of the docs, I think you are looking for qobj$pi0.
The vector qobj$qvalue seems to be the local false discovery rate for
each of your randomizations. Note that the manual implies that the p
values are those of multiple comparisons within a data set, not
randomizations of
Hi all, I'm wondering if someone could put me on the right path to using
the "qvalue" package correctly.
I have an original p value from an analysis, and I've done 1,000
randomisations of the data set. So I now have an original P value and 1,000
random p values. I want to work out the false discov
Can I ask, when I run the below code:
library(qvalue)
pvals
<-c(0.01,0.02,0.03,0.10,0.67,0.08,0.55,0.10,0.81,0.08,0.94,0.10,0.81,0.08,0.72,0.10,0.22,0.08,0.72,0.01,0.02,0.03,0.04,0.05,0.06,0.07,0.01,0.02,0.03,0.10,0.67,0.08,0.55,0.10,0.81,0.08,0.94,0.10,0.81,0.089,0.72,0.10,0.22,0.08,0.72,0.01,0
I am trying to convert pvalues to qvalues.
Here's the command I give:
qvals.sample1= qvalue(pvals.sample1)
q.vals.sample1= qvals.sample1$qvalues
and it returns
[1] "ERROR: The estimated pi0 <= 0. Check that you have valid p-values or
use another lambda method."
Error in qvals.LEC1RT$qvalues : $
On Mon, Apr 18, 2011 at 9:12 AM, Jim Silverton wrote:
> I am using storey's qvalue package but I keep on getting errors. Why is
> this?
>
>> qvalue(p, lambda=0.5)$pi0
> [1] "ERROR: p-values not in valid range."
> Error in qvalue(p, lambda = 0.5)$pi0 :
> $ operator is invalid for atomic vectors
S
I am using storey's qvalue package but I keep on getting errors. Why is
this?
> qvalue(p, lambda=0.5)$pi0
[1] "ERROR: p-values not in valid range."
Error in qvalue(p, lambda = 0.5)$pi0 :
$ operator is invalid for atomic vectors
--
Thanks,
Jim.
[[alternative HTML version deleted]]
__
8 matches
Mail list logo