PyDESeq2 icon indicating copy to clipboard operation
PyDESeq2 copied to clipboard

Simplify naming convention conversion between pydeseq2 and formulaic

Open jeandut opened this issue 10 months ago • 0 comments

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).

jeandut avatar Apr 19 '24 11:04 jeandut