The P-values with lfcShrink and ashr shrinkage estimator
0
0
Entering edit mode
haasroni • 0
@haasroni-20191
Last seen 2.7 years ago
United States

Hi all,

As I understand, s-values are calculated if using the lfcShrink function (with svalue = TRUE), instead of p-adjusted values in results. Is there a way I can get the nominal P-values by using the ashr shrinkage estimator? I only see the s-values.

If not, which P-values is it base on? How can I examine my test by P-value histogram and volcano plots for example?

Thank you!

DESeq2 • 1.1k views
ADD COMMENT
0
Entering edit mode

The s-value for ashr is only added if you set svalue=TRUE, so set it to FALSE if you want the p-values.

See: https://github.com/mikelove/DESeq2/blob/master/R/lfcShrink.R#L479-L487

ADD REPLY
0
Entering edit mode

Thanks! But what if I want the s-values and also the P-values that were used to calculate the s-values?

ADD REPLY
2
Entering edit mode

svalue are not calculated from p-values. See the Stephens 2016 paper and also the apeglm paper for details.

ADD REPLY

Login before adding your answer.

Traffic: 942 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