Skip to content

Releases: owkin/PyDESeq2

v0.5.0pre2

03 Dec 15:49
9355b55
Compare
Choose a tag to compare
v0.5.0pre2 Pre-release
Pre-release

What's Changed

  • ENH add fit size factors type as an argument of DeseqDataSet by @regloeb in #345
  • ENH Switch to formulaic-contrasts by @grst in #344

New Contributors

Full Changelog: v0.5.0pre1...v0.5.0pre2

v0.5.0pre1

19 Nov 09:59
bd47879
Compare
Choose a tag to compare
v0.5.0pre1 Pre-release
Pre-release

What's Changed

This version marks a shift towards formulaic designs, i.e. formula like "~condition + treatment", "~condition + condition:treatment", "~condition + exp(cofactor)", etc.

BREAKING CHANGE

python 3.9 is no longer supported.

DeseqDataSet

  • Designs should now be provided to DeseqDataSet using the design argument, either in the form of a string representing a formulaic formula (e.g. "~condition + treatment", "~condition + condition:treatment", "~condition + exp(cofactor)"...), or an ndarray directly corresponding to a design matrix.
  • design_factors is still supported but throws a DeprecationWarning
  • continuous_factors is deprecated, as continuous type inference is handled by formulaic
  • ref_level is deprecated
  • Due to new decorated methods, DeseqDataSet is no longer picklable. A to_picklable_anndata() method was added to allow users to pickle results for later use.

DeseqStats

  • Default contrasts are no longer supported, as they lead to too many errors
  • Contrasts may be provided as before for categorical variables (e.g. ["treatment", "test", "control"]), or directly in the form of a contrast vector (a numpy array).
  • For now, contrasts for continuous variables are directly specified with a contrast vector.
  • lfc_shrink no longer supports a default coef argument

Changelog

Full Changelog: v0.4.12...v0.5.0pre1

Acknowledgements

@jeandut worked on a first version of formulaic support in #181.
Thanks @grst and @umarteauowkin for your reviews and suggestions!

v0.4.12

25 Oct 08:51
e8c8c1d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.11...v0.4.12

v0.4.11

04 Sep 07:45
5dea9ab
Compare
Choose a tag to compare

This version aims to bring support for anndata 0.10.9.

What's Changed

New Contributors

Full Changelog: v0.4.10...v0.4.11

v0.4.10

02 Jul 12:56
4e652ab
Compare
Choose a tag to compare

What's Changed

  • BUG initialize beta_init when the design matrix is not full rank by @BorisMuzellec in #281
  • MAINT Replace np.NaN with np.nan -> numpy 2.0 compat by @Zethson in #282
  • BUG enable vst be used "blindly" and to fit its own dispersion by @laudmt in #268
  • CHORE update code owners by @mandreux-owkin in #289
  • MAINT summary function uses quiet to print by @yihming in #286
  • ENH Poscount implementation & diag(XXT) optimization by @asistradition in #284
  • BUG Inference n_cpus overwritten issue by @yihming in #293
  • DOC specify what happens if n_cpus and inference are set by @umarteauowkin in #294
  • DOC fix text format in DeseqStats docstring by @BorisMuzellec in #297
  • ENH Remove count DataFrame from calculate_cooks by @asistradition in #292
  • MAINT cast counts to int when initialising a DeseqDataSet from anndata by @BorisMuzellec in #299

New Contributors

Full Changelog: v0.4.9...v0.4.10

v0.4.9

25 Apr 10:14
5cc9f29
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.8...v0.4.9

v0.4.8

26 Mar 16:25
1c6564b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.7...v0.4.8

v0.4.7

01 Mar 18:00
754942b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.6...v0.4.7

v0.4.6

28 Feb 09:06
d4053cb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.5...v0.4.6

v0.4.5

23 Feb 09:15
78ba041
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.4...v0.4.5