You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug test_zero_inflated() (from test_edge_cases.py) is currently failing due to coefficients in the trend curve being negative. This causes negative fitted_dispersions causing, in turn, bugs when taking the log.
To Reproduce
Run test_zero_inflated() (from test_edge_cases.py)
Expected behavior
When this happens, DESeq2 raises a warning and runs a local trend fit, which is not implemented in pydeseq2 yet. The ideal solution would be to implement a python equivalent of localDispersionFit and run it whenever the parametric fit fails.
Additional context Link to the relevant DESeq2 R code.
The text was updated successfully, but these errors were encountered:
Describe the bug
test_zero_inflated()
(fromtest_edge_cases.py
) is currently failing due to coefficients in the trend curve being negative. This causes negativefitted_dispersions
causing, in turn, bugs when taking the log.To Reproduce
Run
test_zero_inflated()
(fromtest_edge_cases.py
)Expected behavior
When this happens, DESeq2 raises a warning and runs a local trend fit, which is not implemented in pydeseq2 yet. The ideal solution would be to implement a python equivalent of
localDispersionFit
and run it whenever the parametric fit fails.Additional context
Link to the relevant DESeq2 R code.
The text was updated successfully, but these errors were encountered: