DESeq2 Wald test p-values
1
0
Entering edit mode
Homer • 0
@homer-18328
Last seen 4.8 years ago

I don't understand how DESeq2 calculates the p-values given by DESeq2::results(). I thought it was

2 * pnorm(abs(log2FoldChange / lfcSE), lower.tail = FALSE)

with log2FoldChange and lfcSE taken from the corresponding columns of the output table given by DESeq2::results(). However, when calculating the p-values this way, I get non-negligible differences (i.e. not only numerical inaccuracies) to the p-values given by DESeq2.

deseq2 • 623 views
ADD COMMENT
0
Entering edit mode
Homer • 0
@homer-18328
Last seen 4.8 years ago

Sorry, just realized my mistake: I was using a threshold for the log fold change.

ADD COMMENT

Login before adding your answer.

Traffic: 781 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6