Hi devs,
Amazing work! It's really nice to have such a strong DEA framework finally available in python. Here's a suggestion regarding factors:
Is your feature request related to a problem? Please describe.
Currently pydeseq2 is limited to bi-level factors, limiting its usage whenever there are multi-level factors or continuous covariates.
Describe the solution you'd like
I know it might be cumbersome to implement, but it would be convenient to add support to multi-level factors and continuous covariates in the design_factors argument of DeseqDataSet.
Describe alternatives you've considered
For multi-level factors, the current alternative is to generate a single DeseqDataSet for each combination of groups, making it tedious to deal with (although it's true that depending on the within-group variability differences it might be needed as explained in the original docs).
For continuous covariates, the current alternative is to cut them into bins and generate factors of them, which results in a multi-level factor with the previously mentioned problems.
Hi devs,
Amazing work! It's really nice to have such a strong DEA framework finally available in python. Here's a suggestion regarding factors:
Is your feature request related to a problem? Please describe.
Currently pydeseq2 is limited to bi-level factors, limiting its usage whenever there are multi-level factors or continuous covariates.
Describe the solution you'd like
I know it might be cumbersome to implement, but it would be convenient to add support to multi-level factors and continuous covariates in the
design_factorsargument of DeseqDataSet.Describe alternatives you've considered
For multi-level factors, the current alternative is to generate a single
DeseqDataSetfor each combination of groups, making it tedious to deal with (although it's true that depending on the within-group variability differences it might be needed as explained in the original docs).For continuous covariates, the current alternative is to cut them into bins and generate factors of them, which results in a multi-level factor with the previously mentioned problems.