Entering edit mode
Hai-Ri Li
▴
20
@hai-ri-li-3503
Last seen 10.3 years ago
Hi everyone,
When I tried to use chisq.test or fisher.test in bioconductor, I
always got
higher p-value than that with other sources.
For example, I have two observed values 15 and 5 and two expected
values 10
and 10.
Using other sources such as Excel from Microsoft, I got p-value 0.025.
However, in bioconductor,
*chisq*.*test*(x=matrix(c(15,5,10,10),nc=2),correct=FALSE)
or
*chisq*.*test*(x=matrix(c(15,10,5,10),nc=2),correct=FALSE)
p-value always is 0.1025.
Did I do something wrong?
Please tell me why there is big difference in p-value. How can I get
low
p-value in bioconductor?
Thanks,
Hai-Ri
[[alternative HTML version deleted]]