owkin / PyDESeq2

A Python implementation of the DESeq2 pipeline for bulk RNA-seq DEA.
https://pydeseq2.readthedocs.io/en/latest/
MIT License
573 stars 60 forks source link

BUG: creating columns on all levels even for continuous #296

Closed umarteauowkin closed 2 months ago

umarteauowkin commented 2 months ago

What does your PR implement? Be specific.

This PR fixes a bug I noticed in the creation of the design matrix. In the original implementation, one column would be created for all levels of all design factors whereas we would like this to be the case only for categorical variables. This is fixed in this PR