Entering edit mode
In DESeq2, it's possible to keep the unshrunk fold changes in results()
output using addMLE=TRUE
, but that requires betaPrior=TRUE
. This behavior seems to be based on the old workflow.
The more modern approach is to use lfcShrink()
, but then the unshrunk fold changes are lost. Is there a way to run lfcShrink()
, but somehow retain both types of fold changes? It's possible to take the fold change before and after lfcShrink()
, but that seems not optimal.
That's the option I use, but then you end up with two objects. I save the results object in case I need to access it in the future, so I was hoping to avoid having to save both of them. I could modify them, but then I am concerned there would be issues with having them in a custom format. It would great if lfcShrink kept the unshrunk fold change. Maybe that could be an option or would that potentially break something downstream?
How about:
Seems easy enough for the user to do this manipulation, and then it's clear what is what in the table.
That is easy indeed. And that shouldn't break anything downstream?
I can't think of anything it would break.