PyDESeq2
PyDESeq2 copied to clipboard
Simplify naming convention conversion between pydeseq2 and formulaic
This information is already available from formulaic directly. When design
is your design matrix, there is
design.model_spec.variable_terms
and
design.model_spec.term_variables
to map from variables to formulae terms and vice versa.
Originally posted by @grst in https://github.com/owkin/PyDESeq2/pull/181#discussion_r1549442869
The complex logic used to handle interaction terms could indeed be simplified (as long as this logic is still needed).