Dear edgeR users or developers,
I am trying to understand the order of calculations in the latest QL workflow
Comparing the source code of the estimateDisp function with the glmQLFit, I came across the use of the squeezeVar function in both. In the estimateDisp function, first the trended dispersions are estimated, followed by a glmfit with the trended dispersions, and then squeezing the variance resulting in df.prior. From this, one can also retrieve the posterior variance, although it is not outputted at this point. This seems to be the same as the posterior variance (called the QL dispersion) outputted by the glmQLFit. Am I assuming this correct or am I missing something?
Thanks a lot in advance,
Veronique Storme
I'd direct you towards a couple of publications that can better answer your question. For
glmFit
, see http://www.statsci.org/smyth/pubs/edgeRChapterPreprint.pdf, and forglmQLFit
, see http://www.statsci.org/smyth/pubs/QLedgeRPreprint.pdf.