DOTools-py 0.0.2__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.codecov.yaml +8 -7
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.github/ISSUE_TEMPLATE/bug_report.yml +2 -3
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.github/ISSUE_TEMPLATE/feature_request.yml +1 -1
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.github/workflows/build.yaml +9 -8
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.github/workflows/release.yaml +8 -8
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.github/workflows/test.yaml +19 -10
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.gitignore +2 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.readthedocs.yaml +1 -1
- dotools_py-0.0.4/CHANGELOG.md +73 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/PKG-INFO +40 -11
- {dotools_py-0.0.2 → dotools_py-0.0.4}/README.md +27 -9
- dotools_py-0.0.4/docs/_static/figures/DoTools_Overview.png +0 -0
- dotools_py-0.0.4/docs/api/bm.md +18 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/api/dt.md +2 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/api/get.md +11 -3
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/api/index.md +10 -8
- dotools_py-0.0.4/docs/api/io.md +30 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/api/pl.md +31 -6
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/api/pp.md +6 -9
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/api/settings.md +4 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/api/tl.md +6 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/api/utility.md +5 -10
- dotools_py-0.0.4/docs/cite.md +21 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/conf.py +23 -0
- dotools_py-0.0.4/docs/figures/split_bar_gsea_example.png +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/index.md +15 -2
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/installation.md +22 -6
- dotools_py-0.0.4/docs/notebooks/Example_Visium.ipynb +760 -0
- dotools_py-0.0.4/docs/notebooks/Integration.ipynb +880 -0
- dotools_py-0.0.4/docs/notebooks/example_10X.ipynb +2410 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/notebooks/example_visualisation.ipynb +6 -10
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/notebooks/index.md +2 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/references.bib +12 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/pyproject.toml +46 -34
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/__init__.py +2 -2
- dotools_py-0.0.4/src/dotools_py/_custom_class.py +25 -0
- dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_convertion.py +264 -0
- dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_expression.py +761 -0
- dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_importer.py +490 -0
- dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_language.py +398 -0
- dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_old_code.py +158 -0
- dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_statistics.py +403 -0
- dotools_py-0.0.4/src/dotools_py/_utils.py +241 -0
- dotools_py-0.0.4/src/dotools_py/bm/__init__.py +5 -0
- dotools_py-0.0.4/src/dotools_py/bm/_helper.py +546 -0
- dotools_py-0.0.4/src/dotools_py/bm/_integration_metrics.py +474 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/dt/__init__.py +1 -1
- dotools_py-0.0.4/src/dotools_py/dt/_datasets.py +259 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/dt/_markers.py +4 -6
- dotools_py-0.0.4/src/dotools_py/dt/example_visium_reduced.h5ad +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/get/__init__.py +3 -1
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/get/_generic.py +192 -26
- dotools_py-0.0.4/src/dotools_py/io/__init__.py +3 -0
- dotools_py-0.0.4/src/dotools_py/io/_dataframes.py +181 -0
- dotools_py-0.0.4/src/dotools_py/io/_objects.py +271 -0
- dotools_py-0.0.2/src/dotools_py/utility/_convertion.py → dotools_py-0.0.4/src/dotools_py/io/_rds.py +26 -13
- dotools_py-0.0.4/src/dotools_py/io/_utils.py +6 -0
- dotools_py-0.0.4/src/dotools_py/pl/_Classes.py +736 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/pl/_Plotter.py +1 -1
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/pl/_StatsPlotter.py +4 -4
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/pl/__init__.py +3 -3
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/pl/_dotplot.py +13 -16
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/pl/_downstream.py +55 -12
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/pl/_embeddings.py +427 -33
- dotools_py-0.0.4/src/dotools_py/pl/_experimental.py +457 -0
- dotools_py-0.0.4/src/dotools_py/pl/_expression.py +1068 -0
- dotools_py-0.0.4/src/dotools_py/pl/_heatmap.py +911 -0
- dotools_py-0.0.4/src/dotools_py/pl/_plot_utils.py +281 -0
- dotools_py-0.0.4/src/dotools_py/pl/_visium.py +368 -0
- dotools_py-0.0.4/src/dotools_py/pp/__init__.py +2 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/pp/_cellbender.py +2 -1
- dotools_py-0.0.4/src/dotools_py/pp/_importer.py +1024 -0
- dotools_py-0.0.4/src/dotools_py/pp/_utils.py +234 -0
- dotools_py-0.0.4/src/dotools_py/settings/__init__.py +2 -0
- dotools_py-0.0.4/src/dotools_py/settings/_configure.py +409 -0
- dotools_py-0.0.4/src/dotools_py/tl/_CCA/_Original.py +978 -0
- dotools_py-0.0.4/src/dotools_py/tl/_CCA/cca.py +417 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/tl/_Statistical.py +144 -156
- dotools_py-0.0.4/src/dotools_py/tl/__init__.py +21 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/tl/_analysis.py +524 -56
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/tl/_get_stats.py +31 -19
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_ReadWrite_RDS.R +8 -7
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_MAST.R +6 -1
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_SCTransform.R +24 -7
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/utility/__init__.py +2 -3
- dotools_py-0.0.4/src/dotools_py/utility/_general.py +406 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/utility/_plotting.py +51 -1
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/utility/_spatial.py +18 -9
- dotools_py-0.0.4/tests/bm/test_bm.py +26 -0
- dotools_py-0.0.4/tests/data/test_datasets.py +60 -0
- dotools_py-0.0.4/tests/data/test_markers.py +23 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/tests/get/test_generic.py +47 -26
- dotools_py-0.0.4/tests/io/test_IO.py +75 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/tests/plotting/test_plotting.py +60 -12
- dotools_py-0.0.4/tests/pp/test_complementary.py +33 -0
- dotools_py-0.0.4/tests/pp/test_importer.py +89 -0
- dotools_py-0.0.4/tests/tools/test_analysis.py +94 -0
- dotools_py-0.0.4/tests/tools/test_statistic.py +159 -0
- dotools_py-0.0.4/tests/utility/test_anndata.py +11 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/tests/utility/test_general.py +31 -3
- dotools_py-0.0.4/tests/utility/test_logger.py +25 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/tests/utility/test_plotting.py +1 -1
- dotools_py-0.0.2/.idea/.gitignore +0 -3
- dotools_py-0.0.2/.idea/DOTools_py.iml +0 -17
- dotools_py-0.0.2/.idea/dictionaries/project.xml +0 -8
- dotools_py-0.0.2/.idea/inspectionProfiles/Project_Default.xml +0 -18
- dotools_py-0.0.2/.idea/inspectionProfiles/profiles_settings.xml +0 -7
- dotools_py-0.0.2/.idea/misc.xml +0 -7
- dotools_py-0.0.2/.idea/modules.xml +0 -8
- dotools_py-0.0.2/.idea/rGraphicsSettings.xml +0 -9
- dotools_py-0.0.2/.idea/rSettings.xml +0 -7
- dotools_py-0.0.2/.idea/vcs.xml +0 -6
- dotools_py-0.0.2/CHANGELOG.md +0 -13
- dotools_py-0.0.2/docs/_static/figures/DoTools_Overview.png +0 -0
- dotools_py-0.0.2/docs/cite.md +0 -10
- dotools_py-0.0.2/docs/notebooks/example_10X.ipynb +0 -2300
- dotools_py-0.0.2/src/dotools_py/_experimental/_deprecated/_expression.py +0 -761
- dotools_py-0.0.2/src/dotools_py/_experimental/_deprecated/_language.py +0 -398
- dotools_py-0.0.2/src/dotools_py/_experimental/_deprecated/_statistics.py +0 -403
- dotools_py-0.0.2/src/dotools_py/dt/_datasets.py +0 -112
- dotools_py-0.0.2/src/dotools_py/pl/_Classes.py +0 -358
- dotools_py-0.0.2/src/dotools_py/pl/_experimental.py +0 -205
- dotools_py-0.0.2/src/dotools_py/pl/_expression.py +0 -581
- dotools_py-0.0.2/src/dotools_py/pl/_heatmap.py +0 -475
- dotools_py-0.0.2/src/dotools_py/pl/_plot_utils.py +0 -103
- dotools_py-0.0.2/src/dotools_py/pl/_visium.py +0 -194
- dotools_py-0.0.2/src/dotools_py/pp/__init__.py +0 -2
- dotools_py-0.0.2/src/dotools_py/pp/_importer.py +0 -583
- dotools_py-0.0.2/src/dotools_py/settings/__init__.py +0 -1
- dotools_py-0.0.2/src/dotools_py/settings/_configure.py +0 -185
- dotools_py-0.0.2/src/dotools_py/tl/__init__.py +0 -10
- dotools_py-0.0.2/src/dotools_py/utility/_general.py +0 -136
- dotools_py-0.0.2/src/dotools_py/utils.py +0 -404
- dotools_py-0.0.2/tests/data/test_data.py +0 -62
- dotools_py-0.0.2/tests/pp/test_importer.py +0 -46
- dotools_py-0.0.2/tests/tools/test_analysis.py +0 -92
- dotools_py-0.0.2/tests/tools/test_statistic.py +0 -89
- dotools_py-0.0.2/tests/utility/test_logger.py +0 -14
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.cruft.json +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.editorconfig +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.pre-commit-config.yaml +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.vscode/extensions.json +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.vscode/launch.json +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/.vscode/settings.json +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/LICENSE +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/biome.jsonc +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/_static/.gitkeep +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/_static/css/custom.css +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/_static/figures/LogoDoTools.png +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/_templates/.gitkeep +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/_templates/autosummary/class.rst +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/api/generated/MarkersCellsHeart.png +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/changelog.md +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/extensions/typed_returns.py +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/figures/LogoDoTools.png +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/notebooks/Running_CellBender.ipynb +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/notebooks/dea.ipynb +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/docs/references.md +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/_experimental/__init__.py +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/_experimental/_deprecated/__init__.py +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/_experimental/gr/__init__.py +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/_experimental/gr/_generic.py +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/dt/example_reduced.h5ad +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/logger.py +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/settings/_global_parameters.py +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/tl/_rankGenes.py +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_CCA.R +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_CellBender.sh +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_edgeR.R +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_scDblFinder.R +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/utility/HomoSapiens_GeneMetadata.pickle.gz +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/src/dotools_py/utility/MusMusculus_GeneMetadata.pickle.gz +0 -0
- {dotools_py-0.0.2 → dotools_py-0.0.4}/tests/conftest.py +0 -0
|
@@ -4,20 +4,21 @@ codecov:
|
|
|
4
4
|
|
|
5
5
|
coverage:
|
|
6
6
|
ignore:
|
|
7
|
-
- "src/dotools_py/
|
|
8
|
-
- "src/dotools_py/_experimental/_deprecated/
|
|
9
|
-
- "src/dotools_py/
|
|
10
|
-
- "src/dotools_py/_experimental/_deprecated/
|
|
7
|
+
- "src/dotools_py/_experimental/_deprecated/_language.py" # Deprecated
|
|
8
|
+
- "src/dotools_py/_experimental/_deprecated/_statistics.py" # Deprecated
|
|
9
|
+
- "src/dotools_py/_experimental/_deprecated/_convertion.py" # Deprecated
|
|
10
|
+
- "src/dotools_py/_experimental/_deprecated/_expression.py" # Deprecated
|
|
11
11
|
- "src/dotools_py/utility/_spatial.py" # No example currently
|
|
12
12
|
- "src/dotools_py/pl/_visium.py" # No example currently
|
|
13
|
-
- "src/dotools_py/
|
|
14
|
-
- "src/dotools_py/
|
|
13
|
+
- "src/dotools_py/io/_rds.py" # R code
|
|
14
|
+
- "src/dotools_py/pp/_cellbender.py" # Decrease time for github actions
|
|
15
|
+
- "src/dotools_py/bm/_helper.py" # R code
|
|
16
|
+
|
|
15
17
|
status:
|
|
16
18
|
project:
|
|
17
19
|
default:
|
|
18
20
|
# Require 50% coverage
|
|
19
21
|
target: 50
|
|
20
|
-
#patch: false
|
|
21
22
|
changes: false
|
|
22
23
|
|
|
23
24
|
comment:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: Bug report
|
|
2
2
|
description: Report something that is broken or incorrect
|
|
3
|
-
|
|
3
|
+
type: bug
|
|
4
4
|
body:
|
|
5
5
|
- type: markdown
|
|
6
6
|
attributes:
|
|
@@ -9,8 +9,7 @@ body:
|
|
|
9
9
|
detailing how to provide the necessary information for us to reproduce your bug. In brief:
|
|
10
10
|
* Please provide exact steps how to reproduce the bug in a clean Python environment.
|
|
11
11
|
* In case it's not clear what's causing this bug, please provide the data or the data generation procedure.
|
|
12
|
-
*
|
|
13
|
-
available datasets or to share a subset of your data.
|
|
12
|
+
* Replicate problems on public datasets or share data subsets when full sharing isn't possible.
|
|
14
13
|
|
|
15
14
|
- type: textarea
|
|
16
15
|
id: report
|
|
@@ -10,23 +10,24 @@ concurrency:
|
|
|
10
10
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
11
11
|
cancel-in-progress: true
|
|
12
12
|
|
|
13
|
-
defaults:
|
|
14
|
-
run:
|
|
15
|
-
# to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
|
|
16
|
-
shell: bash -euo pipefail {0}
|
|
13
|
+
#defaults:
|
|
14
|
+
# run:
|
|
15
|
+
# # to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
|
|
16
|
+
# shell: bash -euo pipefail {0}
|
|
17
17
|
|
|
18
18
|
jobs:
|
|
19
19
|
package:
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
steps:
|
|
22
|
-
- uses: actions/checkout@
|
|
22
|
+
- uses: actions/checkout@v5
|
|
23
23
|
with:
|
|
24
24
|
filter: blob:none
|
|
25
25
|
fetch-depth: 0
|
|
26
26
|
- name: Install uv
|
|
27
|
-
uses: astral-sh/setup-uv@v5
|
|
28
|
-
with:
|
|
29
|
-
|
|
27
|
+
#uses: astral-sh/setup-uv@v5
|
|
28
|
+
#with:
|
|
29
|
+
# cache-dependency-glob: pyproject.toml
|
|
30
|
+
uses: astral-sh/setup-uv@v7
|
|
30
31
|
- name: Build package
|
|
31
32
|
run: uv build
|
|
32
33
|
- name: Check package
|
|
@@ -4,10 +4,10 @@ on:
|
|
|
4
4
|
release:
|
|
5
5
|
types: [published]
|
|
6
6
|
|
|
7
|
-
defaults:
|
|
8
|
-
run:
|
|
9
|
-
# to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
|
|
10
|
-
shell: bash -euo pipefail {0}
|
|
7
|
+
#defaults:
|
|
8
|
+
# run:
|
|
9
|
+
# # to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
|
|
10
|
+
# shell: bash -euo pipefail {0}
|
|
11
11
|
|
|
12
12
|
# Use "trusted publishing", see https://docs.pypi.org/trusted-publishers/
|
|
13
13
|
jobs:
|
|
@@ -20,14 +20,14 @@ jobs:
|
|
|
20
20
|
permissions:
|
|
21
21
|
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
23
|
+
- uses: actions/checkout@v5
|
|
24
24
|
with:
|
|
25
25
|
filter: blob:none
|
|
26
26
|
fetch-depth: 0
|
|
27
27
|
- name: Install uv
|
|
28
|
-
uses: astral-sh/setup-uv@
|
|
29
|
-
with:
|
|
30
|
-
|
|
28
|
+
uses: astral-sh/setup-uv@v7
|
|
29
|
+
#with:
|
|
30
|
+
# cache-dependency-glob: pyproject.toml
|
|
31
31
|
- name: Build package
|
|
32
32
|
run: uv build
|
|
33
33
|
- name: Publish package distributions to PyPI
|
|
@@ -12,10 +12,10 @@ concurrency:
|
|
|
12
12
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
13
13
|
cancel-in-progress: true
|
|
14
14
|
|
|
15
|
-
defaults:
|
|
16
|
-
run:
|
|
17
|
-
# to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
|
|
18
|
-
shell: bash -euo pipefail {0}
|
|
15
|
+
#defaults:
|
|
16
|
+
# run:
|
|
17
|
+
# # to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
|
|
18
|
+
# shell: bash -euo pipefail {0}
|
|
19
19
|
|
|
20
20
|
jobs:
|
|
21
21
|
# Get the test environment from hatch as defined in pyproject.toml.
|
|
@@ -28,12 +28,12 @@ jobs:
|
|
|
28
28
|
outputs:
|
|
29
29
|
envs: ${{ steps.get-envs.outputs.envs }}
|
|
30
30
|
steps:
|
|
31
|
-
- uses: actions/checkout@
|
|
31
|
+
- uses: actions/checkout@v5
|
|
32
32
|
with:
|
|
33
33
|
filter: blob:none
|
|
34
34
|
fetch-depth: 0
|
|
35
35
|
- name: Install uv
|
|
36
|
-
uses: astral-sh/setup-uv@
|
|
36
|
+
uses: astral-sh/setup-uv@v7
|
|
37
37
|
- name: Get test environments
|
|
38
38
|
id: get-envs
|
|
39
39
|
run: |
|
|
@@ -51,6 +51,8 @@ jobs:
|
|
|
51
51
|
# Run tests through hatch. Spawns a separate runner for each environment defined in the hatch matrix obtained above.
|
|
52
52
|
test:
|
|
53
53
|
needs: get-environments
|
|
54
|
+
permissions:
|
|
55
|
+
id-token: write
|
|
54
56
|
|
|
55
57
|
strategy:
|
|
56
58
|
fail-fast: false
|
|
@@ -60,17 +62,18 @@ jobs:
|
|
|
60
62
|
|
|
61
63
|
name: ${{ matrix.env.label }}
|
|
62
64
|
runs-on: ${{ matrix.os }}
|
|
65
|
+
# continue-on-error: ${{ contains(matrix.env.name, 'pre') }}
|
|
63
66
|
|
|
64
67
|
steps:
|
|
65
|
-
- uses: actions/checkout@
|
|
68
|
+
- uses: actions/checkout@v5
|
|
66
69
|
with:
|
|
67
70
|
filter: blob:none
|
|
68
71
|
fetch-depth: 0
|
|
69
72
|
- name: Install uv
|
|
70
|
-
uses: astral-sh/setup-uv@
|
|
73
|
+
uses: astral-sh/setup-uv@v7
|
|
71
74
|
with:
|
|
72
75
|
python-version: ${{ matrix.env.python }}
|
|
73
|
-
cache-dependency-glob: pyproject.toml
|
|
76
|
+
# cache-dependency-glob: pyproject.toml
|
|
74
77
|
- name: create hatch environment
|
|
75
78
|
run: uvx hatch env create ${{ matrix.env.name }}
|
|
76
79
|
- name: run tests using hatch
|
|
@@ -79,10 +82,16 @@ jobs:
|
|
|
79
82
|
PLATFORM: ${{ matrix.os }}
|
|
80
83
|
DISPLAY: :42
|
|
81
84
|
run: uvx hatch run ${{ matrix.env.name }}:run-cov
|
|
85
|
+
#run: uvx hatch run ${{ matrix.env.name }}:run-cov -v --color=yes -n auto
|
|
82
86
|
- name: generate coverage report
|
|
83
87
|
run: uvx hatch run ${{ matrix.env.name }}:coverage xml
|
|
88
|
+
#run: |
|
|
89
|
+
# # See https://coverage.readthedocs.io/en/latest/config.html#run-patch
|
|
90
|
+
# test -f .coverage || uvx hatch run ${{ matrix.env.name }}:cov-combine
|
|
91
|
+
# uvx hatch run ${{ matrix.env.name }}:cov-report # report visibly
|
|
92
|
+
# uvx hatch run ${{ matrix.env.name }}:coverage xml # create report for upload
|
|
84
93
|
- name: Upload coverage reports to Codecov
|
|
85
|
-
uses: codecov/codecov-action@
|
|
94
|
+
uses: codecov/codecov-action@v5
|
|
86
95
|
with:
|
|
87
96
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
88
97
|
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog][],
|
|
6
|
+
and this project adheres to [Semantic Versioning][].
|
|
7
|
+
|
|
8
|
+
[keep a changelog]: https://keepachangelog.com/en/1.0.0/
|
|
9
|
+
[semantic versioning]: https://semver.org/spec/v2.0.0.html
|
|
10
|
+
|
|
11
|
+
## Version 0.0.4 {small}`2026-06-10`
|
|
12
|
+
|
|
13
|
+
### News
|
|
14
|
+
- The DoTools manuscript is published in [Bioinformatics Advances](https://doi.org/10.1093/bioadv/vbag098).
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
- Add `gridsize` parameter to ``dotools_py.pl.density`` to control the number of points calculated in each dimension.
|
|
18
|
+
- Add spatial related functions such as ``do.io.read_visium``, ``do.dt.example_visium``,
|
|
19
|
+
- Rename ``do.pp.sctransform_normalize`` to ``do.pp.pearson_residuals_normalize`` allowing python and r backends.
|
|
20
|
+
- Improve ``do.pl.slides`` allowing to plot one or multiple slides.
|
|
21
|
+
- Allow basic quality control of visium 10x data in ``dotools_py.pp.importer_py`` and ``dotools_py.pp.quality_control``.
|
|
22
|
+
- Add extra functions to ``do.utility`` and ``do.get``
|
|
23
|
+
- Add ``do.tl.run_seurat_integration`` allowing both python (experimental) and r backend
|
|
24
|
+
- The behavior of `logcounts` changed for `do.pl.barplot()` use `estimator` instead to adapt the calculation.
|
|
25
|
+
- Add `logmean` to `do.get.mean_expr()` to control if the mean or log-transformed mean is returned
|
|
26
|
+
- Add ``do.tl.umap_clustering`` to compute neighbors, umap and clusters
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
- Fix Bug in ``dotools_py.pl.density`` related to axes ticks, colorbar and multiple feature plotting.
|
|
30
|
+
- Fix Bugs in the ``dotools_py.pp`` module
|
|
31
|
+
- Fix typo in the name of the function ``dotools_py.pl.split_embedding``
|
|
32
|
+
- Fix Bug in default matplotlib settings
|
|
33
|
+
- Fix deprecation bug in SCTransform
|
|
34
|
+
- Internal restructure.
|
|
35
|
+
|
|
36
|
+
### Documentation
|
|
37
|
+
- Update scRNA-seq tutorial
|
|
38
|
+
- Add Visium tutorial
|
|
39
|
+
- Update citation and README
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## Version 0.0.3 {small}`2026-01-30`
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
- Add `dotools_py.pl.heatmap_foldchange` to visualize log2foldchanges between groups across conditions.
|
|
47
|
+
- Add ``io`` module for reading/writing. `dotools_py.utility.read_rds` and `dotools_py.utility.save_rds` have been moved to this module.
|
|
48
|
+
- Make internal functions in ``dotools_py.pp`` and ``dotools_py.tl`` public.
|
|
49
|
+
- Add `dotools_py.get.layer_swap` to swap layers.
|
|
50
|
+
- Add `dotools_py.settings.set_kernel_logger` and :func:`dotools_py.settings.toggle_kernel_logger` to record the kernel history.
|
|
51
|
+
- Add ``dotools_py.bm`` module that contain metrics for the evaluation of quality control steps.
|
|
52
|
+
- Add `dotools_py.pl.density` to visualize density of features in embeddings.
|
|
53
|
+
- Add ``random_state`` parameters to the methods.
|
|
54
|
+
- Add `dotools_py.utlity.create_report`
|
|
55
|
+
- Add `dotools_py.tl.DGEAnalysis`, a class with DGE analysis methods.
|
|
56
|
+
- Add `dotools_py.pl.ridgeplot`
|
|
57
|
+
|
|
58
|
+
### Bug fixes
|
|
59
|
+
|
|
60
|
+
- Fix Bug in ``dotools_py.pl.barplot``, ``dotools_py.pl.boxplot`` and ``dotools_py.pl.violinplot`` where the legends
|
|
61
|
+
were not correctly display when `hue` was set but `hue_order` was not set.
|
|
62
|
+
- Embedding plots will be saved using a ``vector_friendly`` (scatter plots will use png backend even when exporting as PDF or SVG).
|
|
63
|
+
- Internal bug fixes in several other methods
|
|
64
|
+
- Harmony runs through the pytorch implementation.
|
|
65
|
+
|
|
66
|
+
## Version 0.0.2 {small}`2025-11-25`
|
|
67
|
+
|
|
68
|
+
Correction of bugs and update parameters naming for consistency across functions.
|
|
69
|
+
|
|
70
|
+
## Version 0.0.1 {small}`2025-10-23`
|
|
71
|
+
|
|
72
|
+
Pre-release of DoTools, a convenient and user-friendly package to streamline common workflows in single-cell RNA
|
|
73
|
+
sequencing data analysis using the scverse ecosystem.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: DOTools_py
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Convenient functions to streamline sc/snRNAseq data analysis workflow
|
|
5
5
|
Project-URL: Documentation, https://DOTools_py.readthedocs.io/
|
|
6
6
|
Project-URL: Homepage, https://github.com/davidrm-bio/DOTools_py
|
|
@@ -37,11 +37,14 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
37
37
|
Requires-Python: >=3.10
|
|
38
38
|
Requires-Dist: adjusttext
|
|
39
39
|
Requires-Dist: anndata>=0.9.2
|
|
40
|
+
Requires-Dist: appdirs
|
|
40
41
|
Requires-Dist: bbknn
|
|
41
42
|
Requires-Dist: celltypist
|
|
42
43
|
Requires-Dist: doubletdetection>=4.3
|
|
43
44
|
Requires-Dist: fast-array-utils[accel,sparse]>=1.2.1; python_version >= '3.11'
|
|
44
|
-
Requires-Dist:
|
|
45
|
+
Requires-Dist: fastexcel
|
|
46
|
+
Requires-Dist: gseapy<1.1.11
|
|
47
|
+
Requires-Dist: harmony-pytorch
|
|
45
48
|
Requires-Dist: harmonypy
|
|
46
49
|
Requires-Dist: jupyter
|
|
47
50
|
Requires-Dist: numba
|
|
@@ -50,9 +53,11 @@ Requires-Dist: pandas>=2.2.3
|
|
|
50
53
|
Requires-Dist: polars>=1.30
|
|
51
54
|
Requires-Dist: pydeseq2
|
|
52
55
|
Requires-Dist: requests
|
|
56
|
+
Requires-Dist: rich<14
|
|
53
57
|
Requires-Dist: scanorama
|
|
54
58
|
Requires-Dist: scanpro
|
|
55
59
|
Requires-Dist: scanpy
|
|
60
|
+
Requires-Dist: scib
|
|
56
61
|
Requires-Dist: scikit-image
|
|
57
62
|
Requires-Dist: scipy
|
|
58
63
|
Requires-Dist: scvi-tools>=1.3
|
|
@@ -76,10 +81,12 @@ Requires-Dist: pandas; extra == 'doc'
|
|
|
76
81
|
Requires-Dist: polars; extra == 'doc'
|
|
77
82
|
Requires-Dist: pydeseq2; extra == 'doc'
|
|
78
83
|
Requires-Dist: scanpydoc; extra == 'doc'
|
|
84
|
+
Requires-Dist: scib; extra == 'doc'
|
|
79
85
|
Requires-Dist: scipy; extra == 'doc'
|
|
80
86
|
Requires-Dist: scvi-tools; extra == 'doc'
|
|
81
87
|
Requires-Dist: seaborn; extra == 'doc'
|
|
82
88
|
Requires-Dist: setuptools; extra == 'doc'
|
|
89
|
+
Requires-Dist: spatialdata; extra == 'doc'
|
|
83
90
|
Requires-Dist: sphinx-autodoc-typehints; extra == 'doc'
|
|
84
91
|
Requires-Dist: sphinx-book-theme>=1; extra == 'doc'
|
|
85
92
|
Requires-Dist: sphinx-copybutton; extra == 'doc'
|
|
@@ -92,10 +99,12 @@ Requires-Dist: tqdm; extra == 'doc'
|
|
|
92
99
|
Provides-Extra: test
|
|
93
100
|
Requires-Dist: adjusttext; extra == 'test'
|
|
94
101
|
Requires-Dist: anndata; extra == 'test'
|
|
102
|
+
Requires-Dist: appdirs; extra == 'test'
|
|
95
103
|
Requires-Dist: bbknn; extra == 'test'
|
|
96
104
|
Requires-Dist: celltypist; extra == 'test'
|
|
97
105
|
Requires-Dist: coverage; extra == 'test'
|
|
98
106
|
Requires-Dist: doubletdetection; extra == 'test'
|
|
107
|
+
Requires-Dist: fastexcel; extra == 'test'
|
|
99
108
|
Requires-Dist: gseapy; extra == 'test'
|
|
100
109
|
Requires-Dist: ipython; extra == 'test'
|
|
101
110
|
Requires-Dist: matplotlib; extra == 'test'
|
|
@@ -105,11 +114,13 @@ Requires-Dist: pandas; extra == 'test'
|
|
|
105
114
|
Requires-Dist: polars; extra == 'test'
|
|
106
115
|
Requires-Dist: pyarrow; extra == 'test'
|
|
107
116
|
Requires-Dist: pytest; extra == 'test'
|
|
117
|
+
Requires-Dist: rich<14; extra == 'test'
|
|
108
118
|
Requires-Dist: scanpy; extra == 'test'
|
|
109
119
|
Requires-Dist: scipy; extra == 'test'
|
|
110
120
|
Requires-Dist: scvi-tools; extra == 'test'
|
|
111
121
|
Requires-Dist: seaborn; extra == 'test'
|
|
112
122
|
Requires-Dist: tqdm; extra == 'test'
|
|
123
|
+
Requires-Dist: zarr; extra == 'test'
|
|
113
124
|
Description-Content-Type: text/markdown
|
|
114
125
|
|
|
115
126
|
# DOTools_py
|
|
@@ -121,7 +132,7 @@ Description-Content-Type: text/markdown
|
|
|
121
132
|
[![Issues][badge-issues]][issue tracker]
|
|
122
133
|
[![Stars][badge-stars]](https://github.com/davidrm-bio/DOTools_py/stargazers)
|
|
123
134
|
[![PyPI][badge-pypi]][pypi]
|
|
124
|
-
[](https://pepy.tech/projects/dotools-py)
|
|
125
136
|
|
|
126
137
|
[badge-tests]: https://img.shields.io/github/actions/workflow/status/davidrm-bio/DOTools_py/test.yaml?branch=main
|
|
127
138
|
[badge-docs]: https://img.shields.io/readthedocs/DOTools_py/stable
|
|
@@ -132,7 +143,7 @@ Description-Content-Type: text/markdown
|
|
|
132
143
|
|
|
133
144
|
|
|
134
145
|
Convenient and user-friendly package to streamline common workflows in single-cell RNA sequencing data analysis using
|
|
135
|
-
the scverse ecosystem. It provides high-level wrappers and
|
|
146
|
+
the scverse ecosystem. It provides high-level wrappers and visualization functions to help efficiently preprocess,
|
|
136
147
|
analyze, and interpret single-cell data.
|
|
137
148
|
|
|
138
149
|
## Getting started
|
|
@@ -146,30 +157,34 @@ You need to have Python 3.10 or newer installed on your system. We recommend cre
|
|
|
146
157
|
a dedicated [conda](https://www.anaconda.com/docs/getting-started/miniconda/main) environment.
|
|
147
158
|
|
|
148
159
|
```bash
|
|
149
|
-
conda create -n
|
|
150
|
-
conda activate
|
|
160
|
+
conda create -n scrna_py11 python=3.11 -y
|
|
161
|
+
conda activate scrna_py11
|
|
162
|
+
pip install uv
|
|
151
163
|
```
|
|
152
164
|
|
|
153
165
|
There are several alternative options to install DOTools_py:
|
|
154
166
|
|
|
155
167
|
1. Install the latest release of `DOTools_py` from [PyPI](https://pypi.org/project/DOTools-py/):
|
|
156
168
|
```bash
|
|
157
|
-
pip install dotools-py
|
|
169
|
+
uv pip install dotools-py
|
|
158
170
|
```
|
|
159
171
|
|
|
160
172
|
2. Install the latest development version:
|
|
161
173
|
```bash
|
|
162
|
-
pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
|
|
174
|
+
uv pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
|
|
163
175
|
```
|
|
164
176
|
|
|
165
177
|
Finally, to use this environment in jupyter notebook, add jupyter kernel for this environment:
|
|
166
178
|
|
|
167
179
|
```bash
|
|
168
|
-
python -m ipykernel install --user --name=
|
|
180
|
+
python -m ipykernel install --user --name=scrna_py11 --display-name=scrna_py11
|
|
169
181
|
```
|
|
170
182
|
|
|
171
183
|
## Requirements
|
|
172
184
|
|
|
185
|
+
This package has been tested on macOS, Linux and Windows System. For a standard dataset (e.g., 6 samples with 10k cells each)
|
|
186
|
+
we suggest 16GB of RAM and at least 5 CPUs.
|
|
187
|
+
|
|
173
188
|
Some methods are run through R and require additional dependencies
|
|
174
189
|
including: `Seurat`, `MAST`, `scDblFinder`, `zellkonverter`, `data.table` and `optparse`.
|
|
175
190
|
|
|
@@ -194,13 +209,25 @@ when importing the package. In this case run
|
|
|
194
209
|
pip install --no-cache polars-lts-cpu
|
|
195
210
|
```
|
|
196
211
|
|
|
212
|
+
## R version
|
|
213
|
+
|
|
197
214
|
We also have an R implementation of the [DOTools](https://github.com/MarianoRuzJurado/DOtools). This can be
|
|
198
|
-
installed
|
|
215
|
+
installed from Bioconductor:
|
|
199
216
|
|
|
200
217
|
```R
|
|
218
|
+
if (!requireNamespace("BiocManager", quietly=TRUE)) {
|
|
219
|
+
install.packages("BiocManager")
|
|
220
|
+
}
|
|
221
|
+
BiocManager::install("DOtools")
|
|
201
222
|
devtools::install_github("MarianoRuzJurado/DOtools")
|
|
202
223
|
```
|
|
203
224
|
|
|
225
|
+
The developmental version can be downloaded using `devtools`:
|
|
226
|
+
|
|
227
|
+
```R
|
|
228
|
+
devtools::install_github("MarianoRuzJurado/DOtools", ref="devel")
|
|
229
|
+
```
|
|
230
|
+
|
|
204
231
|
## Release notes
|
|
205
232
|
|
|
206
233
|
See the [changelog][].
|
|
@@ -211,7 +238,9 @@ Alternatively you can write to my email: [rodriguezmorales@med.uni-frankfurt.de]
|
|
|
211
238
|
|
|
212
239
|
## Citation
|
|
213
240
|
|
|
214
|
-
>
|
|
241
|
+
> Ruz Jurado, Mariano, David Rodriguez Morales, Lukas Zanders, Elijah Genetzakis, Stefanie Dimmeler, and David John. 2026.
|
|
242
|
+
> “DoTools: A Cross Platform Framework to Streamline Common Single Cell Workflows.” Bioinformatics Advances: vbag098.
|
|
243
|
+
> https://doi.org/10.1093/bioadv/vbag098
|
|
215
244
|
|
|
216
245
|
[uv]: https://github.com/astral-sh/uv
|
|
217
246
|
[scverse discourse]: https://discourse.scverse.org/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[![Issues][badge-issues]][issue tracker]
|
|
8
8
|
[![Stars][badge-stars]](https://github.com/davidrm-bio/DOTools_py/stargazers)
|
|
9
9
|
[![PyPI][badge-pypi]][pypi]
|
|
10
|
-
[](https://pepy.tech/projects/dotools-py)
|
|
11
11
|
|
|
12
12
|
[badge-tests]: https://img.shields.io/github/actions/workflow/status/davidrm-bio/DOTools_py/test.yaml?branch=main
|
|
13
13
|
[badge-docs]: https://img.shields.io/readthedocs/DOTools_py/stable
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
Convenient and user-friendly package to streamline common workflows in single-cell RNA sequencing data analysis using
|
|
21
|
-
the scverse ecosystem. It provides high-level wrappers and
|
|
21
|
+
the scverse ecosystem. It provides high-level wrappers and visualization functions to help efficiently preprocess,
|
|
22
22
|
analyze, and interpret single-cell data.
|
|
23
23
|
|
|
24
24
|
## Getting started
|
|
@@ -32,30 +32,34 @@ You need to have Python 3.10 or newer installed on your system. We recommend cre
|
|
|
32
32
|
a dedicated [conda](https://www.anaconda.com/docs/getting-started/miniconda/main) environment.
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
conda create -n
|
|
36
|
-
conda activate
|
|
35
|
+
conda create -n scrna_py11 python=3.11 -y
|
|
36
|
+
conda activate scrna_py11
|
|
37
|
+
pip install uv
|
|
37
38
|
```
|
|
38
39
|
|
|
39
40
|
There are several alternative options to install DOTools_py:
|
|
40
41
|
|
|
41
42
|
1. Install the latest release of `DOTools_py` from [PyPI](https://pypi.org/project/DOTools-py/):
|
|
42
43
|
```bash
|
|
43
|
-
pip install dotools-py
|
|
44
|
+
uv pip install dotools-py
|
|
44
45
|
```
|
|
45
46
|
|
|
46
47
|
2. Install the latest development version:
|
|
47
48
|
```bash
|
|
48
|
-
pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
|
|
49
|
+
uv pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
|
|
49
50
|
```
|
|
50
51
|
|
|
51
52
|
Finally, to use this environment in jupyter notebook, add jupyter kernel for this environment:
|
|
52
53
|
|
|
53
54
|
```bash
|
|
54
|
-
python -m ipykernel install --user --name=
|
|
55
|
+
python -m ipykernel install --user --name=scrna_py11 --display-name=scrna_py11
|
|
55
56
|
```
|
|
56
57
|
|
|
57
58
|
## Requirements
|
|
58
59
|
|
|
60
|
+
This package has been tested on macOS, Linux and Windows System. For a standard dataset (e.g., 6 samples with 10k cells each)
|
|
61
|
+
we suggest 16GB of RAM and at least 5 CPUs.
|
|
62
|
+
|
|
59
63
|
Some methods are run through R and require additional dependencies
|
|
60
64
|
including: `Seurat`, `MAST`, `scDblFinder`, `zellkonverter`, `data.table` and `optparse`.
|
|
61
65
|
|
|
@@ -80,13 +84,25 @@ when importing the package. In this case run
|
|
|
80
84
|
pip install --no-cache polars-lts-cpu
|
|
81
85
|
```
|
|
82
86
|
|
|
87
|
+
## R version
|
|
88
|
+
|
|
83
89
|
We also have an R implementation of the [DOTools](https://github.com/MarianoRuzJurado/DOtools). This can be
|
|
84
|
-
installed
|
|
90
|
+
installed from Bioconductor:
|
|
85
91
|
|
|
86
92
|
```R
|
|
93
|
+
if (!requireNamespace("BiocManager", quietly=TRUE)) {
|
|
94
|
+
install.packages("BiocManager")
|
|
95
|
+
}
|
|
96
|
+
BiocManager::install("DOtools")
|
|
87
97
|
devtools::install_github("MarianoRuzJurado/DOtools")
|
|
88
98
|
```
|
|
89
99
|
|
|
100
|
+
The developmental version can be downloaded using `devtools`:
|
|
101
|
+
|
|
102
|
+
```R
|
|
103
|
+
devtools::install_github("MarianoRuzJurado/DOtools", ref="devel")
|
|
104
|
+
```
|
|
105
|
+
|
|
90
106
|
## Release notes
|
|
91
107
|
|
|
92
108
|
See the [changelog][].
|
|
@@ -97,7 +113,9 @@ Alternatively you can write to my email: [rodriguezmorales@med.uni-frankfurt.de]
|
|
|
97
113
|
|
|
98
114
|
## Citation
|
|
99
115
|
|
|
100
|
-
>
|
|
116
|
+
> Ruz Jurado, Mariano, David Rodriguez Morales, Lukas Zanders, Elijah Genetzakis, Stefanie Dimmeler, and David John. 2026.
|
|
117
|
+
> “DoTools: A Cross Platform Framework to Streamline Common Single Cell Workflows.” Bioinformatics Advances: vbag098.
|
|
118
|
+
> https://doi.org/10.1093/bioadv/vbag098
|
|
101
119
|
|
|
102
120
|
[uv]: https://github.com/astral-sh/uv
|
|
103
121
|
[scverse discourse]: https://discourse.scverse.org/
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Benchmarking: `bm`
|
|
2
|
+
The benchmarking module contains functions to evaluate how well specific processing
|
|
3
|
+
steps worked, for example integration.
|
|
4
|
+
|
|
5
|
+
## Batch correction metrics
|
|
6
|
+
```{eval-rst}
|
|
7
|
+
.. module:: dotools_py.bm
|
|
8
|
+
.. currentmodule:: dotools_py
|
|
9
|
+
|
|
10
|
+
.. autosummary::
|
|
11
|
+
:toctree: generated
|
|
12
|
+
|
|
13
|
+
bm.eval_integration
|
|
14
|
+
bm.kbet
|
|
15
|
+
bm.silhouette_batch
|
|
16
|
+
bm.pcr_comparison
|
|
17
|
+
bm.graph_connectivity
|
|
18
|
+
```
|
|
@@ -12,10 +12,18 @@ AnnData object.
|
|
|
12
12
|
|
|
13
13
|
get.expr
|
|
14
14
|
get.mean_expr
|
|
15
|
-
get.subset
|
|
16
|
-
get.dge_results
|
|
17
15
|
get.log2fc
|
|
18
16
|
get.pcts_cells
|
|
19
|
-
get.
|
|
17
|
+
get.dge_results
|
|
20
18
|
```
|
|
21
19
|
|
|
20
|
+
## Object transformation
|
|
21
|
+
```{eval-rst}
|
|
22
|
+
.. autosummary::
|
|
23
|
+
:toctree: generated
|
|
24
|
+
|
|
25
|
+
get.subset
|
|
26
|
+
get.subset_df
|
|
27
|
+
get.pseudobulk
|
|
28
|
+
get.layer_swap
|
|
29
|
+
```
|
|
@@ -5,19 +5,21 @@ Import dotools_py as:
|
|
|
5
5
|
import dotools_py as do
|
|
6
6
|
```
|
|
7
7
|
|
|
8
|
-
```{toctree}
|
|
9
|
-
:maxdepth: 1
|
|
10
|
-
|
|
11
|
-
settings
|
|
12
|
-
dt
|
|
13
|
-
get
|
|
14
|
-
```
|
|
15
|
-
|
|
16
8
|
```{toctree}
|
|
17
9
|
:maxdepth: 2
|
|
18
10
|
|
|
19
11
|
pp
|
|
20
12
|
tl
|
|
21
13
|
pl
|
|
14
|
+
get
|
|
15
|
+
io
|
|
22
16
|
utility
|
|
23
17
|
```
|
|
18
|
+
|
|
19
|
+
```{toctree}
|
|
20
|
+
:maxdepth: 1
|
|
21
|
+
|
|
22
|
+
dt
|
|
23
|
+
bm
|
|
24
|
+
settings
|
|
25
|
+
```
|