DOTools-py 0.0.3__tar.gz → 0.1__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.3 → dotools_py-0.1}/.github/ISSUE_TEMPLATE/feature_request.yml +1 -1
- {dotools_py-0.0.3 → dotools_py-0.1}/.github/workflows/build.yaml +9 -8
- {dotools_py-0.0.3 → dotools_py-0.1}/.github/workflows/release.yaml +8 -8
- {dotools_py-0.0.3 → dotools_py-0.1}/.github/workflows/test.yaml +19 -10
- {dotools_py-0.0.3 → dotools_py-0.1}/.readthedocs.yaml +1 -1
- dotools_py-0.1/CHANGELOG.md +104 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/PKG-INFO +32 -28
- {dotools_py-0.0.3 → dotools_py-0.1}/README.md +21 -22
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/api/dt.md +3 -0
- dotools_py-0.1/docs/api/generated/MarkersCellsHeart.png +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/api/get.md +2 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/api/io.md +1 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/api/pl.md +3 -2
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/api/pp.md +14 -5
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/api/tl.md +11 -3
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/api/utility.md +5 -0
- dotools_py-0.1/docs/cite.md +21 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/conf.py +4 -2
- dotools_py-0.1/docs/figures/split_bar_gsea_example.png +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/index.md +1 -1
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/installation.md +19 -22
- dotools_py-0.1/docs/notebooks/Example_Visium.ipynb +760 -0
- dotools_py-0.1/docs/notebooks/example_10X.ipynb +2410 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/notebooks/index.md +1 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/pyproject.toml +10 -6
- dotools_py-0.1/src/dotools_py/_custom_class.py +29 -0
- dotools_py-0.1/src/dotools_py/_experimental/_deprecated/_convertion.py +264 -0
- dotools_py-0.1/src/dotools_py/_experimental/_deprecated/_expression.py +761 -0
- dotools_py-0.1/src/dotools_py/_experimental/_deprecated/_importer.py +490 -0
- dotools_py-0.1/src/dotools_py/_experimental/_deprecated/_language.py +398 -0
- dotools_py-0.1/src/dotools_py/_experimental/_deprecated/_old_code.py +158 -0
- dotools_py-0.1/src/dotools_py/_experimental/_deprecated/_statistics.py +403 -0
- dotools_py-0.1/src/dotools_py/_utils.py +241 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/bm/_helper.py +5 -5
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/bm/_integration_metrics.py +6 -6
- dotools_py-0.1/src/dotools_py/dt/TableGO_Example.parquet +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/dt/__init__.py +1 -1
- dotools_py-0.1/src/dotools_py/dt/_datasets.py +296 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/dt/_markers.py +23 -5
- dotools_py-0.1/src/dotools_py/dt/example_visium_reduced.h5ad +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/get/__init__.py +3 -1
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/get/_generic.py +420 -122
- dotools_py-0.1/src/dotools_py/get/_get_classes.py +300 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/io/__init__.py +1 -1
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/io/_dataframes.py +52 -28
- dotools_py-0.1/src/dotools_py/io/_objects.py +274 -0
- dotools_py-0.1/src/dotools_py/io/_rds.py +198 -0
- dotools_py-0.1/src/dotools_py/io/_utils.py +6 -0
- dotools_py-0.1/src/dotools_py/pl/_Classes.py +2272 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/pl/_Plotter.py +1 -1
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/pl/_StatsPlotter.py +74 -19
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/pl/__init__.py +2 -2
- dotools_py-0.1/src/dotools_py/pl/_dotplot.py +233 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/pl/_downstream.py +306 -41
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/pl/_embeddings.py +85 -50
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/pl/_experimental.py +26 -16
- dotools_py-0.1/src/dotools_py/pl/_expression.py +1077 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/pl/_heatmap.py +165 -425
- dotools_py-0.1/src/dotools_py/pl/_plot_utils.py +591 -0
- dotools_py-0.1/src/dotools_py/pl/_visium.py +367 -0
- dotools_py-0.1/src/dotools_py/pp/__init__.py +9 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/pp/_cellbender.py +137 -4
- dotools_py-0.1/src/dotools_py/pp/_importer.py +1257 -0
- dotools_py-0.1/src/dotools_py/pp/_utils.py +234 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/settings/_configure.py +32 -14
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/settings/_global_parameters.py +1 -1
- dotools_py-0.1/src/dotools_py/tl/_CCA/_Original.py +978 -0
- dotools_py-0.1/src/dotools_py/tl/_CCA/cca.py +417 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/tl/_Statistical.py +20 -18
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/tl/__init__.py +11 -1
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/tl/_analysis.py +267 -27
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/tl/_get_stats.py +26 -28
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/tl/_rankGenes.py +20 -19
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/util_scripts/_ReadWrite_RDS.R +4 -4
- dotools_py-0.1/src/dotools_py/util_scripts/_ReadWrite_RDS_anndataR.R +177 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/util_scripts/_run_MAST.R +2 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/util_scripts/_run_SCTransform.R +24 -7
- dotools_py-0.1/src/dotools_py/utility/__init__.py +5 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/utility/_general.py +294 -12
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/utility/_plotting.py +93 -29
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/utility/_spatial.py +4 -4
- dotools_py-0.1/tests/data/test_datasets.py +65 -0
- dotools_py-0.1/tests/data/test_markers.py +24 -0
- dotools_py-0.1/tests/get/test_generic.py +183 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/io/test_IO.py +30 -11
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/plotting/test_plotting.py +39 -37
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/pp/test_importer.py +10 -8
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/tools/test_analysis.py +44 -18
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/tools/test_statistic.py +23 -10
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/utility/test_anndata.py +2 -2
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/utility/test_general.py +50 -8
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/utility/test_logger.py +1 -1
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/utility/test_plotting.py +17 -2
- dotools_py-0.0.3/CHANGELOG.md +0 -43
- dotools_py-0.0.3/docs/api/generated/MarkersCellsHeart.png +0 -0
- dotools_py-0.0.3/docs/cite.md +0 -10
- dotools_py-0.0.3/docs/notebooks/example_10X.ipynb +0 -2300
- dotools_py-0.0.3/src/dotools_py/_experimental/_deprecated/_convertion.py +0 -264
- dotools_py-0.0.3/src/dotools_py/_experimental/_deprecated/_expression.py +0 -761
- dotools_py-0.0.3/src/dotools_py/_experimental/_deprecated/_language.py +0 -398
- dotools_py-0.0.3/src/dotools_py/_experimental/_deprecated/_statistics.py +0 -403
- dotools_py-0.0.3/src/dotools_py/dt/_datasets.py +0 -112
- dotools_py-0.0.3/src/dotools_py/io/_objects.py +0 -153
- dotools_py-0.0.3/src/dotools_py/io/_rds.py +0 -267
- dotools_py-0.0.3/src/dotools_py/pl/_Classes.py +0 -362
- dotools_py-0.0.3/src/dotools_py/pl/_dotplot.py +0 -2062
- dotools_py-0.0.3/src/dotools_py/pl/_expression.py +0 -596
- dotools_py-0.0.3/src/dotools_py/pl/_plot_utils.py +0 -102
- dotools_py-0.0.3/src/dotools_py/pl/_visium.py +0 -194
- dotools_py-0.0.3/src/dotools_py/pp/__init__.py +0 -2
- dotools_py-0.0.3/src/dotools_py/pp/_importer.py +0 -917
- dotools_py-0.0.3/src/dotools_py/utility/__init__.py +0 -3
- dotools_py-0.0.3/src/dotools_py/utils.py +0 -448
- dotools_py-0.0.3/tests/data/test_data.py +0 -62
- dotools_py-0.0.3/tests/get/test_generic.py +0 -133
- {dotools_py-0.0.3 → dotools_py-0.1}/.codecov.yaml +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/.cruft.json +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/.editorconfig +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/.gitignore +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/.pre-commit-config.yaml +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/.vscode/extensions.json +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/.vscode/launch.json +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/.vscode/settings.json +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/LICENSE +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/biome.jsonc +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/_static/.gitkeep +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/_static/css/custom.css +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/_static/figures/DoTools_Overview.png +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/_static/figures/LogoDoTools.png +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/_templates/.gitkeep +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/_templates/autosummary/class.rst +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/api/bm.md +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/api/index.md +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/api/settings.md +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/changelog.md +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/extensions/typed_returns.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/figures/LogoDoTools.png +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/notebooks/Integration.ipynb +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/notebooks/Running_CellBender.ipynb +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/notebooks/dea.ipynb +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/notebooks/example_visualisation.ipynb +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/references.bib +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/docs/references.md +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/__init__.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/_experimental/__init__.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/_experimental/_deprecated/__init__.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/_experimental/gr/__init__.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/_experimental/gr/_generic.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/bm/__init__.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/dt/example_reduced.h5ad +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/logger.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/settings/__init__.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/util_scripts/_run_CCA.R +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/util_scripts/_run_CellBender.sh +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/util_scripts/_run_edgeR.R +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/util_scripts/_run_scDblFinder.R +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/utility/HomoSapiens_GeneMetadata.pickle.gz +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/src/dotools_py/utility/MusMusculus_GeneMetadata.pickle.gz +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/bm/test_bm.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/conftest.py +0 -0
- {dotools_py-0.0.3 → dotools_py-0.1}/tests/pp/test_complementary.py +0 -0
|
@@ -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,104 @@
|
|
|
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
|
+
|
|
12
|
+
## Version 0.1 {small}`2026-12-03`
|
|
13
|
+
|
|
14
|
+
### Changes
|
|
15
|
+
- For the majority of the functions the arguments are now keyword-only except `adata`.
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
- Add ``dotools_py.pl.ora_network`` to visualize overrepresentation results as a network
|
|
19
|
+
- Add ``dotools_py.get.metacells`` to generate metacells
|
|
20
|
+
- Add ``dotools_py.pp.filter_cells`` and ``dotools_py.pp.filter_genes``
|
|
21
|
+
- Add ``dotools_py.pp.run_ambidose`` for ambient RNA removal
|
|
22
|
+
- Add ``do.dt.example_ora`` for tutorial examples
|
|
23
|
+
- Improvement of ``do.pl.heatmap`` to groupby two categories like in ``do.pl.dotplot``
|
|
24
|
+
- Include option to filter-out features not present in the object for ``do.dt.heart_markers``
|
|
25
|
+
- Replace ``zellkonverter`` with ``anndataR`` to improve reading and saving to Seurat/SingleCellExperiment
|
|
26
|
+
- Add ``dotools_py.utility.set_path`` to create and return a normalize path
|
|
27
|
+
- Add ``dotools_py.utility.to_toml`` to save information of the current environment to TOML file for sharing
|
|
28
|
+
- Add utility functions for plotting
|
|
29
|
+
- Improvement of the performance of ``do.get.mean_expr`` and ``do.get.expr``
|
|
30
|
+
- Improvement of performance of ``do.get.pseudobulk`` and allow to use different backends (`scanpy`, `decoupler`, `dotools`)
|
|
31
|
+
- ``dotools_py.pl.cell_composition`` shows the number of cells per condition at the top of the bar
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
- Bug fixes for several functions
|
|
35
|
+
- Fix error when saving results in ``do.tl.rank_genes_condition``
|
|
36
|
+
- Improve consistency for the matrix plots (``dotools_py.pl.dotplot`` and ``dotools_py.pl.heatmap``). Both use the same underlying code.
|
|
37
|
+
|
|
38
|
+
### Documentation
|
|
39
|
+
- Update figure with markers in ``do.dt.heart_markers``
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## Version 0.0.4 {small}`2026-06-10`
|
|
43
|
+
|
|
44
|
+
### News
|
|
45
|
+
- The DoTools manuscript is published in [Bioinformatics Advances](https://doi.org/10.1093/bioadv/vbag098).
|
|
46
|
+
|
|
47
|
+
### Features
|
|
48
|
+
- Add `gridsize` parameter to ``dotools_py.pl.density`` to control the number of points calculated in each dimension.
|
|
49
|
+
- Add spatial related functions such as ``do.io.read_visium``, ``do.dt.example_visium``,
|
|
50
|
+
- Rename ``do.pp.sctransform_normalize`` to ``do.pp.pearson_residuals_normalize`` allowing python and r backends.
|
|
51
|
+
- Improve ``do.pl.slides`` allowing to plot one or multiple slides.
|
|
52
|
+
- Allow basic quality control of visium 10x data in ``dotools_py.pp.importer_py`` and ``dotools_py.pp.quality_control``.
|
|
53
|
+
- Add extra functions to ``do.utility`` and ``do.get``
|
|
54
|
+
- Add ``do.tl.run_seurat_integration`` allowing both python (experimental) and r backend
|
|
55
|
+
- The behavior of `logcounts` changed for `do.pl.barplot()` use `estimator` instead to adapt the calculation.
|
|
56
|
+
- Add `logmean` to `do.get.mean_expr()` to control if the mean or log-transformed mean is returned
|
|
57
|
+
- Add ``do.tl.umap_clustering`` to compute neighbors, umap and clusters
|
|
58
|
+
|
|
59
|
+
### Bug Fixes
|
|
60
|
+
- Fix Bug in ``dotools_py.pl.density`` related to axes ticks, colorbar and multiple feature plotting.
|
|
61
|
+
- Fix Bugs in the ``dotools_py.pp`` module
|
|
62
|
+
- Fix typo in the name of the function ``dotools_py.pl.split_embedding``
|
|
63
|
+
- Fix Bug in default matplotlib settings
|
|
64
|
+
- Fix deprecation bug in SCTransform
|
|
65
|
+
- Internal restructure.
|
|
66
|
+
|
|
67
|
+
### Documentation
|
|
68
|
+
- Update scRNA-seq tutorial
|
|
69
|
+
- Add Visium tutorial
|
|
70
|
+
- Update citation and README
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## Version 0.0.3 {small}`2026-01-30`
|
|
74
|
+
|
|
75
|
+
### Features
|
|
76
|
+
|
|
77
|
+
- Add `dotools_py.pl.heatmap_foldchange` to visualize log2foldchanges between groups across conditions.
|
|
78
|
+
- Add ``io`` module for reading/writing. `dotools_py.utility.read_rds` and `dotools_py.utility.save_rds` have been moved to this module.
|
|
79
|
+
- Make internal functions in ``dotools_py.pp`` and ``dotools_py.tl`` public.
|
|
80
|
+
- Add `dotools_py.get.layer_swap` to swap layers.
|
|
81
|
+
- Add `dotools_py.settings.set_kernel_logger` and :func:`dotools_py.settings.toggle_kernel_logger` to record the kernel history.
|
|
82
|
+
- Add ``dotools_py.bm`` module that contain metrics for the evaluation of quality control steps.
|
|
83
|
+
- Add `dotools_py.pl.density` to visualize density of features in embeddings.
|
|
84
|
+
- Add ``random_state`` parameters to the methods.
|
|
85
|
+
- Add `dotools_py.utlity.create_report`
|
|
86
|
+
- Add `dotools_py.tl.DGEAnalysis`, a class with DGE analysis methods.
|
|
87
|
+
- Add `dotools_py.pl.ridgeplot`
|
|
88
|
+
|
|
89
|
+
### Bug fixes
|
|
90
|
+
|
|
91
|
+
- Fix Bug in ``dotools_py.pl.barplot``, ``dotools_py.pl.boxplot`` and ``dotools_py.pl.violinplot`` where the legends
|
|
92
|
+
were not correctly display when `hue` was set but `hue_order` was not set.
|
|
93
|
+
- Embedding plots will be saved using a ``vector_friendly`` (scatter plots will use png backend even when exporting as PDF or SVG).
|
|
94
|
+
- Internal bug fixes in several other methods
|
|
95
|
+
- Harmony runs through the pytorch implementation.
|
|
96
|
+
|
|
97
|
+
## Version 0.0.2 {small}`2025-11-25`
|
|
98
|
+
|
|
99
|
+
Correction of bugs and update parameters naming for consistency across functions.
|
|
100
|
+
|
|
101
|
+
## Version 0.0.1 {small}`2025-10-23`
|
|
102
|
+
|
|
103
|
+
Pre-release of DoTools, a convenient and user-friendly package to streamline common workflows in single-cell RNA
|
|
104
|
+
sequencing data analysis using the scverse ecosystem.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: DOTools_py
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.1
|
|
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,8 +37,8 @@ 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
|
-
Requires-Dist: beartype
|
|
42
42
|
Requires-Dist: celltypist
|
|
43
43
|
Requires-Dist: doubletdetection>=4.3
|
|
44
44
|
Requires-Dist: fast-array-utils[accel,sparse]>=1.2.1; python_version >= '3.11'
|
|
@@ -47,12 +47,15 @@ Requires-Dist: gseapy<1.1.11
|
|
|
47
47
|
Requires-Dist: harmony-pytorch
|
|
48
48
|
Requires-Dist: harmonypy
|
|
49
49
|
Requires-Dist: jupyter
|
|
50
|
+
Requires-Dist: networkx
|
|
50
51
|
Requires-Dist: numba
|
|
51
52
|
Requires-Dist: numpy>=1.26.4
|
|
52
53
|
Requires-Dist: pandas>=2.2.3
|
|
53
54
|
Requires-Dist: polars>=1.30
|
|
55
|
+
Requires-Dist: prelude-py
|
|
54
56
|
Requires-Dist: pydeseq2
|
|
55
57
|
Requires-Dist: requests
|
|
58
|
+
Requires-Dist: rich<14
|
|
56
59
|
Requires-Dist: scanorama
|
|
57
60
|
Requires-Dist: scanpro
|
|
58
61
|
Requires-Dist: scanpy
|
|
@@ -61,13 +64,13 @@ Requires-Dist: scikit-image
|
|
|
61
64
|
Requires-Dist: scipy
|
|
62
65
|
Requires-Dist: scvi-tools>=1.3
|
|
63
66
|
Requires-Dist: session-info2
|
|
67
|
+
Requires-Dist: tomlkit
|
|
64
68
|
Requires-Dist: tqdm
|
|
65
69
|
Provides-Extra: dev
|
|
66
70
|
Requires-Dist: pre-commit; extra == 'dev'
|
|
67
71
|
Requires-Dist: twine>=4.0.2; extra == 'dev'
|
|
68
72
|
Provides-Extra: doc
|
|
69
73
|
Requires-Dist: bbknn; extra == 'doc'
|
|
70
|
-
Requires-Dist: beartype; extra == 'doc'
|
|
71
74
|
Requires-Dist: celltypist; extra == 'doc'
|
|
72
75
|
Requires-Dist: docutils!=0.18.*,!=0.19.*,>=0.8; extra == 'doc'
|
|
73
76
|
Requires-Dist: doubletdetection; extra == 'doc'
|
|
@@ -99,10 +102,11 @@ Requires-Dist: tqdm; extra == 'doc'
|
|
|
99
102
|
Provides-Extra: test
|
|
100
103
|
Requires-Dist: adjusttext; extra == 'test'
|
|
101
104
|
Requires-Dist: anndata; extra == 'test'
|
|
105
|
+
Requires-Dist: appdirs; extra == 'test'
|
|
102
106
|
Requires-Dist: bbknn; extra == 'test'
|
|
103
|
-
Requires-Dist: beartype; extra == 'test'
|
|
104
107
|
Requires-Dist: celltypist; extra == 'test'
|
|
105
108
|
Requires-Dist: coverage; extra == 'test'
|
|
109
|
+
Requires-Dist: decoupler; extra == 'test'
|
|
106
110
|
Requires-Dist: doubletdetection; extra == 'test'
|
|
107
111
|
Requires-Dist: fastexcel; extra == 'test'
|
|
108
112
|
Requires-Dist: gseapy; extra == 'test'
|
|
@@ -114,12 +118,13 @@ Requires-Dist: pandas; extra == 'test'
|
|
|
114
118
|
Requires-Dist: polars; extra == 'test'
|
|
115
119
|
Requires-Dist: pyarrow; extra == 'test'
|
|
116
120
|
Requires-Dist: pytest; extra == 'test'
|
|
121
|
+
Requires-Dist: rich<14; extra == 'test'
|
|
117
122
|
Requires-Dist: scanpy; extra == 'test'
|
|
118
123
|
Requires-Dist: scipy; extra == 'test'
|
|
119
124
|
Requires-Dist: scvi-tools; extra == 'test'
|
|
120
125
|
Requires-Dist: seaborn; extra == 'test'
|
|
121
126
|
Requires-Dist: tqdm; extra == 'test'
|
|
122
|
-
Requires-Dist: zarr; extra == 'test'
|
|
127
|
+
Requires-Dist: zarr<3; extra == 'test'
|
|
123
128
|
Description-Content-Type: text/markdown
|
|
124
129
|
|
|
125
130
|
# DOTools_py
|
|
@@ -134,7 +139,7 @@ Description-Content-Type: text/markdown
|
|
|
134
139
|
[](https://pepy.tech/projects/dotools-py)
|
|
135
140
|
|
|
136
141
|
[badge-tests]: https://img.shields.io/github/actions/workflow/status/davidrm-bio/DOTools_py/test.yaml?branch=main
|
|
137
|
-
[badge-docs]: https://img.shields.io/readthedocs/DOTools_py/
|
|
142
|
+
[badge-docs]: https://img.shields.io/readthedocs/DOTools_py/latest
|
|
138
143
|
[badge-issues]: https://img.shields.io/github/issues/davidrm-bio/DOTools_py
|
|
139
144
|
[badge-stars]: https://img.shields.io/github/stars/davidrm-bio/DOTools_py?style=flat&logo=github&color=yellow
|
|
140
145
|
[badge-coverage]: https://codecov.io/gh/davidrm-bio/DOTools_py/branch/main/graph/badge.svg
|
|
@@ -158,19 +163,19 @@ a dedicated [conda](https://www.anaconda.com/docs/getting-started/miniconda/main
|
|
|
158
163
|
```bash
|
|
159
164
|
conda create -n scrna_py11 python=3.11 -y
|
|
160
165
|
conda activate scrna_py11
|
|
166
|
+
pip install uv
|
|
161
167
|
```
|
|
162
168
|
|
|
163
169
|
There are several alternative options to install DOTools_py:
|
|
164
170
|
|
|
165
171
|
1. Install the latest release of `DOTools_py` from [PyPI](https://pypi.org/project/DOTools-py/):
|
|
166
172
|
```bash
|
|
167
|
-
pip install uv
|
|
168
173
|
uv pip install dotools-py
|
|
169
174
|
```
|
|
170
175
|
|
|
171
176
|
2. Install the latest development version:
|
|
172
177
|
```bash
|
|
173
|
-
pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
|
|
178
|
+
uv pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
|
|
174
179
|
```
|
|
175
180
|
|
|
176
181
|
Finally, to use this environment in jupyter notebook, add jupyter kernel for this environment:
|
|
@@ -188,24 +193,22 @@ Some methods are run through R and require additional dependencies
|
|
|
188
193
|
including: `Seurat`, `MAST`, `scDblFinder`, `zellkonverter`, `data.table` and `optparse`.
|
|
189
194
|
|
|
190
195
|
```R
|
|
191
|
-
if (!
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
BiocManager::install("zellkonverter")
|
|
201
|
-
BiocManager::install('glmGamPoi')
|
|
196
|
+
if (!requireNamespace("pak", quietly = TRUE)) {
|
|
197
|
+
install.packages("pak")
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
pak::pkg_install(c(
|
|
201
|
+
"optparse", "remotes", "data.table", "bioc::MAST", "bioc::scDblFinder",
|
|
202
|
+
"bioc::anndataR", "bioc::glmGamPoi", "github::satijalab/seurat@seurat5"
|
|
203
|
+
))
|
|
204
|
+
|
|
202
205
|
```
|
|
203
206
|
|
|
204
207
|
For old CPU architectures there can be problems with [polars](https://docs.pola.rs/) making the kernel die
|
|
205
208
|
when importing the package. In this case run
|
|
206
209
|
|
|
207
210
|
```bash
|
|
208
|
-
pip install --no-cache polars-lts-cpu
|
|
211
|
+
uv pip install --no-cache polars-lts-cpu
|
|
209
212
|
```
|
|
210
213
|
|
|
211
214
|
## R version
|
|
@@ -214,17 +217,16 @@ We also have an R implementation of the [DOTools](https://github.com/MarianoRuz
|
|
|
214
217
|
installed from Bioconductor:
|
|
215
218
|
|
|
216
219
|
```R
|
|
217
|
-
if (!requireNamespace("
|
|
218
|
-
install.packages("
|
|
220
|
+
if (!requireNamespace("pak", quietly=TRUE)) {
|
|
221
|
+
install.packages("pak")
|
|
219
222
|
}
|
|
220
|
-
|
|
221
|
-
devtools::install_github("MarianoRuzJurado/DOtools")
|
|
223
|
+
pak::pkg_install("bioc::DOtools")
|
|
222
224
|
```
|
|
223
225
|
|
|
224
|
-
The developmental version can be downloaded using `
|
|
226
|
+
The developmental version can be downloaded using `pak`:
|
|
225
227
|
|
|
226
228
|
```R
|
|
227
|
-
|
|
229
|
+
pak::pkg_install("github::MarianoRuzJurado/DOtools@devel")
|
|
228
230
|
```
|
|
229
231
|
|
|
230
232
|
## Release notes
|
|
@@ -237,7 +239,9 @@ Alternatively you can write to my email: [rodriguezmorales@med.uni-frankfurt.de]
|
|
|
237
239
|
|
|
238
240
|
## Citation
|
|
239
241
|
|
|
240
|
-
>
|
|
242
|
+
> Ruz Jurado, Mariano, David Rodriguez Morales, Lukas Zanders, Elijah Genetzakis, Stefanie Dimmeler, and David John. 2026.
|
|
243
|
+
> “DoTools: A Cross Platform Framework to Streamline Common Single Cell Workflows.” Bioinformatics Advances: vbag098.
|
|
244
|
+
> https://doi.org/10.1093/bioadv/vbag098
|
|
241
245
|
|
|
242
246
|
[uv]: https://github.com/astral-sh/uv
|
|
243
247
|
[scverse discourse]: https://discourse.scverse.org/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
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
|
-
[badge-docs]: https://img.shields.io/readthedocs/DOTools_py/
|
|
13
|
+
[badge-docs]: https://img.shields.io/readthedocs/DOTools_py/latest
|
|
14
14
|
[badge-issues]: https://img.shields.io/github/issues/davidrm-bio/DOTools_py
|
|
15
15
|
[badge-stars]: https://img.shields.io/github/stars/davidrm-bio/DOTools_py?style=flat&logo=github&color=yellow
|
|
16
16
|
[badge-coverage]: https://codecov.io/gh/davidrm-bio/DOTools_py/branch/main/graph/badge.svg
|
|
@@ -34,19 +34,19 @@ a dedicated [conda](https://www.anaconda.com/docs/getting-started/miniconda/main
|
|
|
34
34
|
```bash
|
|
35
35
|
conda create -n scrna_py11 python=3.11 -y
|
|
36
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 uv
|
|
44
44
|
uv pip install dotools-py
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
2. Install the latest development version:
|
|
48
48
|
```bash
|
|
49
|
-
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
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
Finally, to use this environment in jupyter notebook, add jupyter kernel for this environment:
|
|
@@ -64,24 +64,22 @@ Some methods are run through R and require additional dependencies
|
|
|
64
64
|
including: `Seurat`, `MAST`, `scDblFinder`, `zellkonverter`, `data.table` and `optparse`.
|
|
65
65
|
|
|
66
66
|
```R
|
|
67
|
-
if (!
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
BiocManager::install("zellkonverter")
|
|
77
|
-
BiocManager::install('glmGamPoi')
|
|
67
|
+
if (!requireNamespace("pak", quietly = TRUE)) {
|
|
68
|
+
install.packages("pak")
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
pak::pkg_install(c(
|
|
72
|
+
"optparse", "remotes", "data.table", "bioc::MAST", "bioc::scDblFinder",
|
|
73
|
+
"bioc::anndataR", "bioc::glmGamPoi", "github::satijalab/seurat@seurat5"
|
|
74
|
+
))
|
|
75
|
+
|
|
78
76
|
```
|
|
79
77
|
|
|
80
78
|
For old CPU architectures there can be problems with [polars](https://docs.pola.rs/) making the kernel die
|
|
81
79
|
when importing the package. In this case run
|
|
82
80
|
|
|
83
81
|
```bash
|
|
84
|
-
pip install --no-cache polars-lts-cpu
|
|
82
|
+
uv pip install --no-cache polars-lts-cpu
|
|
85
83
|
```
|
|
86
84
|
|
|
87
85
|
## R version
|
|
@@ -90,17 +88,16 @@ We also have an R implementation of the [DOTools](https://github.com/MarianoRuz
|
|
|
90
88
|
installed from Bioconductor:
|
|
91
89
|
|
|
92
90
|
```R
|
|
93
|
-
if (!requireNamespace("
|
|
94
|
-
install.packages("
|
|
91
|
+
if (!requireNamespace("pak", quietly=TRUE)) {
|
|
92
|
+
install.packages("pak")
|
|
95
93
|
}
|
|
96
|
-
|
|
97
|
-
devtools::install_github("MarianoRuzJurado/DOtools")
|
|
94
|
+
pak::pkg_install("bioc::DOtools")
|
|
98
95
|
```
|
|
99
96
|
|
|
100
|
-
The developmental version can be downloaded using `
|
|
97
|
+
The developmental version can be downloaded using `pak`:
|
|
101
98
|
|
|
102
99
|
```R
|
|
103
|
-
|
|
100
|
+
pak::pkg_install("github::MarianoRuzJurado/DOtools@devel")
|
|
104
101
|
```
|
|
105
102
|
|
|
106
103
|
## Release notes
|
|
@@ -113,7 +110,9 @@ Alternatively you can write to my email: [rodriguezmorales@med.uni-frankfurt.de]
|
|
|
113
110
|
|
|
114
111
|
## Citation
|
|
115
112
|
|
|
116
|
-
>
|
|
113
|
+
> Ruz Jurado, Mariano, David Rodriguez Morales, Lukas Zanders, Elijah Genetzakis, Stefanie Dimmeler, and David John. 2026.
|
|
114
|
+
> “DoTools: A Cross Platform Framework to Streamline Common Single Cell Workflows.” Bioinformatics Advances: vbag098.
|
|
115
|
+
> https://doi.org/10.1093/bioadv/vbag098
|
|
117
116
|
|
|
118
117
|
[uv]: https://github.com/astral-sh/uv
|
|
119
118
|
[scverse discourse]: https://discourse.scverse.org/
|
|
Binary file
|
|
@@ -24,7 +24,7 @@ functions for enhance visualization of sc/snRNA-seq data.
|
|
|
24
24
|
:toctree: generated
|
|
25
25
|
|
|
26
26
|
pl.embedding
|
|
27
|
-
pl.
|
|
27
|
+
pl.split_embedding
|
|
28
28
|
pl.umap
|
|
29
29
|
pl.density
|
|
30
30
|
```
|
|
@@ -40,13 +40,14 @@ functions for enhance visualization of sc/snRNA-seq data.
|
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
## Statistical plots
|
|
43
|
+
## Downstream and Statistical plots
|
|
44
44
|
```{eval-rst}
|
|
45
45
|
.. autosummary::
|
|
46
46
|
:toctree: generated
|
|
47
47
|
|
|
48
48
|
pl.cell_composition
|
|
49
49
|
pl.split_bar_gsea
|
|
50
|
+
pl.ora_network
|
|
50
51
|
pl.correlation
|
|
51
52
|
pl.volcano_plot
|
|
52
53
|
```
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
# Preprocessing: `pp`
|
|
2
2
|
|
|
3
3
|
The preprocessing module {mod}`dotools_py.pp` compiles all the basic quality control steps for
|
|
4
|
-
|
|
4
|
+
analyzing sc/snRNA-seq and Visium with different implementations building on packages from the
|
|
5
5
|
[scverse ecosystem](https://scverse.org/)
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
## sc/snRNA Processing
|
|
7
|
+
## Ambient RNA removal
|
|
9
8
|
```{eval-rst}
|
|
10
9
|
.. module:: dotools_py.pp
|
|
11
10
|
.. currentmodule:: dotools_py
|
|
@@ -14,10 +13,20 @@ analysing sc/snRNA-seq with different implementations building on packages from
|
|
|
14
13
|
:toctree: generated
|
|
15
14
|
|
|
16
15
|
pp.run_cellbender
|
|
16
|
+
pp.run_ambidose
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Processing
|
|
20
|
+
```{eval-rst}
|
|
21
|
+
.. autosummary::
|
|
22
|
+
:toctree: generated
|
|
23
|
+
|
|
17
24
|
pp.importer_py
|
|
18
25
|
pp.quality_control
|
|
19
26
|
pp.log_normalize
|
|
20
|
-
pp.
|
|
27
|
+
pp.pearson_residuals_normalize
|
|
21
28
|
pp.find_doublets
|
|
22
|
-
|
|
29
|
+
pp.filter_cells
|
|
30
|
+
pp.filter_genes
|
|
23
31
|
```
|
|
32
|
+
|