Pydeseq2

Latest version: v0.4.12

Safety actively analyzes 688735 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.5.0pre2

What's Changed
* ENH add fit size factors type as an argument of DeseqDataSet by regloeb in https://github.com/owkin/PyDESeq2/pull/345
* ENH Switch to formulaic-contrasts by grst in https://github.com/owkin/PyDESeq2/pull/344

New Contributors
* regloeb made their first contribution in https://github.com/owkin/PyDESeq2/pull/345
* grst made their first contribution in https://github.com/owkin/PyDESeq2/pull/344

**Full Changelog**: https://github.com/owkin/PyDESeq2/compare/v0.5.0pre1...v0.5.0pre2

0.5.0pre1

What's Changed

This version marks a shift towards [`formulaic`](https://github.com/matthewwardrop/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

* ENH Generic design support using `formulaic` by BorisMuzellec in https://github.com/owkin/PyDESeq2/pull/328
* MAINT Deprecated `pandas.DataFrameGroupBy.grouper` by BorisMuzellec in https://github.com/owkin/PyDESeq2/pull/332

**Full Changelog**: https://github.com/owkin/PyDESeq2/compare/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!

0.4.12

What's Changed
* BUG set vst fit type to mean when parametric fails by BorisMuzellec in https://github.com/owkin/PyDESeq2/pull/314
* ENH: Memory Optimizations & low_memory Flag by asistradition in https://github.com/owkin/PyDESeq2/pull/324


**Full Changelog**: https://github.com/owkin/PyDESeq2/compare/v0.4.11...v0.4.12

0.4.11

This version aims to bring support for anndata 0.10.9.

What's Changed
* BUG set ``varm["replaced"]`` as a numpy array by BorisMuzellec in https://github.com/owkin/PyDESeq2/pull/307
* MAINT Respect quiet=True in DeseqStats.lfc_shrink by maltekuehl in https://github.com/owkin/PyDESeq2/pull/304

New Contributors
* maltekuehl made their first contribution in https://github.com/owkin/PyDESeq2/pull/304

**Full Changelog**: https://github.com/owkin/PyDESeq2/compare/v0.4.10...v0.4.11

0.4.10

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

New Contributors
* Zethson made their first contribution in https://github.com/owkin/PyDESeq2/pull/282
* laudmt made their first contribution in https://github.com/owkin/PyDESeq2/pull/268
* yihming made their first contribution in https://github.com/owkin/PyDESeq2/pull/286
* asistradition made their first contribution in https://github.com/owkin/PyDESeq2/pull/284
* umarteauowkin made their first contribution in https://github.com/owkin/PyDESeq2/pull/294

**Full Changelog**: https://github.com/owkin/PyDESeq2/compare/v0.4.9...v0.4.10

0.4.9

What's Changed
* DOCS Fix latex display in sphinx doc by tanguy-marchand in https://github.com/owkin/PyDESeq2/pull/266
* ENH Add adapt = False (prior_scale=1) option to lfc_shrink() by awalsh17 in https://github.com/owkin/PyDESeq2/pull/267
* BUG update genewise dispersions and fitted dispersions of refitted genes by BorisMuzellec in https://github.com/owkin/PyDESeq2/pull/274

New Contributors
* tanguy-marchand made their first contribution in https://github.com/owkin/PyDESeq2/pull/266
* awalsh17 made their first contribution in https://github.com/owkin/PyDESeq2/pull/267

**Full Changelog**: https://github.com/owkin/PyDESeq2/compare/v0.4.8...v0.4.9

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.