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".
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 theDeseqDataSet
, 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:
After: