Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify naming convention conversion between pydeseq2 and formulaic #272

Open
jeandut opened this issue Apr 19, 2024 · 0 comments
Open

Comments

@jeandut
Copy link
Contributor

jeandut commented Apr 19, 2024

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 #181 (comment)

The complex logic used to handle interaction terms could indeed be simplified (as long as this logic is still needed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant