I think I figured out what the problem was: Myalpha was set at 0.05 for results()
My initial code for results() was:
res<-results(dds,alpha= 0.05)
and for lfcShrink():
lfcres<-lfcShrink(dds,coef=2,type="apeglm",res=res)
The above code gave me different padj values. However, when I changed my results() code to:
res<-results(dds,alpha= 0.1)
The padj values were the same for both. Is there an option to set lfcShrink() to alpha=0.05?
Thank you.