-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT Factor out inference routines (#191)
* Create inference.py * Create default_inference.py * Update dds.py * Update ds.py * Update plot_minimal_pydeseq2_pipeline.py * Update plot_pandas_io_example.py * Update plot_step_by_step.py * don't process non-zeros in utils * Update dds.py * formatting * formatting * ignore typing * ignore typing * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * noqa * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * CI remove test_docstrings (duplicate with ruff, which runs pydocstyle) (#196) * docs: fix docs, incorporate new classes * refactor: remove pass statements from abstractmethods with docstrings * style: rename MLE_lfc variable to lowercase mle_lfc --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Boris Muzellec <[email protected]> Co-authored-by: Boris MUZELLEC <[email protected]>
- Loading branch information
1 parent
a7ede89
commit e64c413
Showing
12 changed files
with
761 additions
and
222 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
docs/source/api/docstrings/pydeseq2.default_inference.DefaultInference.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
pydeseq2.default_inference.DefaultInference | ||
=========================================== | ||
|
||
.. currentmodule:: pydeseq2.default_inference | ||
|
||
.. autoclass:: DefaultInference | ||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~DefaultInference.lin_reg_mu | ||
~DefaultInference.irls | ||
~DefaultInference.alpha_mle | ||
~DefaultInference.wald_test | ||
~DefaultInference.fit_rough_dispersions | ||
~DefaultInference.fit_moments_dispersions | ||
~DefaultInference.dispersion_trend_gamma_glm | ||
~DefaultInference.lfc_shrink_nbinom_glm |
19 changes: 19 additions & 0 deletions
19
docs/source/api/docstrings/pydeseq2.inference.Inference.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
pydeseq2.inference.Inference | ||
============================= | ||
|
||
.. currentmodule:: pydeseq2.inference | ||
|
||
.. autoclass:: Inference | ||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~Inference.lin_reg_mu | ||
~Inference.irls | ||
~Inference.alpha_mle | ||
~Inference.wald_test | ||
~Inference.fit_rough_dispersions | ||
~Inference.fit_moments_dispersions | ||
~Inference.dispersion_trend_gamma_glm | ||
~Inference.lfc_shrink_nbinom_glm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.