You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something is going wrong in the construction of the design matrix for DE analysis, where the order of covariates in the design formula determines whether the right name will be assigned to the right column in the design matrix.
all of this should be fixed with pydeseq v0.5 which finally switches to formulaic and design matrices natively. Please try out their release candidate!
I still need to find the time to update pertpy accordingly, see also #610
Report
Something is going wrong in the construction of the design matrix for DE analysis, where the order of covariates in the design formula determines whether the right name will be assigned to the right column in the design matrix.
Reproducible example from the DE tutorial
Running DE analysis with PyDESeq2
Here the design matrix looks as expected
If I swap the covariates in the formula:
The results look different:
And column names appear to be swapped in the design matrix:
This is likely caused by this code.
Version information
Version info
The text was updated successfully, but these errors were encountered: