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

BUG update genewise dispersions and fitted dispersions of refitted genes #274

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

BorisMuzellec
Copy link
Collaborator

@BorisMuzellec BorisMuzellec commented Apr 23, 2024

What does your PR implement? Be specific.

Currently, when outlier genes are refitted, only "_normed_means", "LFC" and "dispersions" are updated in the fields of the DeseqDataSet, but not "genewise_dispersions" and "fitted_dispersions".

This has limited or no impact on the remainder of the code, but interferes with visualisation (e.g. with plot_dispersions().

This PR fixes this by also updating "genewise_dispersions" and "fitted_dispersions".

Example

Before:

Capture d’écran 2024-04-24 à 10 20 25

After:

Capture d’écran 2024-04-24 à 10 42 06

@umarteauowkin
Copy link

LGTM, thanks @BorisMuzellec

@BorisMuzellec BorisMuzellec merged commit 44fa959 into main Apr 25, 2024
15 checks passed
@BorisMuzellec BorisMuzellec deleted the fix/refitted_trend_curve_dispersions branch April 25, 2024 08:24
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

Successfully merging this pull request may close these issues.

None yet

2 participants