scatrans 0.9.8.dev2__tar.gz → 0.9.8.dev3__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.
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/PKG-INFO +1 -1
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/scatrans.egg-info/SOURCES.txt +0 -2
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/_version.py +2 -2
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_de_backends.py +2 -0
- scatrans-0.9.8.dev2/src/scatrans/_bias.py +0 -24
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/.github/workflows/ci.yml +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/.github/workflows/publish.yml +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/.gitignore +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/.pre-commit-config.yaml +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/CHANGELOG.md +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/CITATION.cff +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/LICENSE +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/MANIFEST.in +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/README.md +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/conftest.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/conftest_fixtures.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/examples/memento_de_example.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/examples/real_data_template.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/examples/synthetic_active_transcription.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/pyproject.toml +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/setup.cfg +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/__init__.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/_de.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/_permutation.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/_utils.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/_velocity.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/DATA_LICENSES.md +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/Hs_GO_Biological_Process_2026.txt +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/Hs_KEGG_2026.txt +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/Mm_GO_Biological_Process_2026.txt +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/Mm_KEGG_2026.txt +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/Mus_musculus.GRCm39.115_gene_features.parquet +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/README.md +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/human_GRCh38_2024A_gene_features.parquet +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/mouse_2020A_gene_features.parquet +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/enrich.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/generate_gene_features.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/pl.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/pp_bias.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/qc.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/tl.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/__init__.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/conftest.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_basic.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_de_edge_cases.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_enrich_api.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_enrich_go.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_pl_coverage.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_pl_extended.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_pp_bias_cli.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_public_api.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_regression_bugs.py +0 -0
- {scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/tests/test_tl_coverage.py +0 -0
|
@@ -4,7 +4,6 @@ CHANGELOG.md
|
|
|
4
4
|
CITATION.cff
|
|
5
5
|
LICENSE
|
|
6
6
|
MANIFEST.in
|
|
7
|
-
PKG-INFO
|
|
8
7
|
README.md
|
|
9
8
|
conftest.py
|
|
10
9
|
conftest_fixtures.py
|
|
@@ -16,7 +15,6 @@ examples/memento_de_example.py
|
|
|
16
15
|
examples/real_data_template.py
|
|
17
16
|
examples/synthetic_active_transcription.py
|
|
18
17
|
src/scatrans/__init__.py
|
|
19
|
-
src/scatrans/_bias.py
|
|
20
18
|
src/scatrans/_de.py
|
|
21
19
|
src/scatrans/_permutation.py
|
|
22
20
|
src/scatrans/_utils.py
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.9.8.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 9, 8, '
|
|
21
|
+
__version__ = version = '0.9.8.dev3'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 9, 8, 'dev3')
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -86,6 +86,8 @@ def test_active_score_pb_x_layer_sentinel(adata_pb):
|
|
|
86
86
|
reference_group="Control",
|
|
87
87
|
use_pseudobulk=True,
|
|
88
88
|
sample_col="sample",
|
|
89
|
+
pseudobulk_de_backend="scanpy",
|
|
90
|
+
de_method="wilcoxon",
|
|
89
91
|
pb_use_total_for_x=False,
|
|
90
92
|
pb_x_layer="X",
|
|
91
93
|
use_permutation=False,
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Bias correction (Huber regression on gene length + intron number).
|
|
3
|
-
|
|
4
|
-
The actual implementation lives in _utils._fit_huber_bias_correction so it can be
|
|
5
|
-
used from both the main analysis path and from permutation tasks without duplication.
|
|
6
|
-
|
|
7
|
-
Enhanced return: (residual, bias_info_dict) with fit diagnostics for transparency.
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
from __future__ import annotations
|
|
11
|
-
|
|
12
|
-
from typing import Any
|
|
13
|
-
|
|
14
|
-
import numpy as np
|
|
15
|
-
|
|
16
|
-
from ._utils import _fit_huber_bias_correction as _raw_fit
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
def fit_huber_bias_correction(*args, **kwargs) -> tuple[np.ndarray, dict[str, Any]]:
|
|
20
|
-
"""Public/internal wrapper that returns (residual, bias_info)."""
|
|
21
|
-
return _raw_fit(*args, **kwargs)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
__all__ = ["fit_huber_bias_correction"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/Hs_GO_Biological_Process_2026.txt
RENAMED
|
File without changes
|
|
File without changes
|
{scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/Mm_GO_Biological_Process_2026.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scatrans-0.9.8.dev2 → scatrans-0.9.8.dev3}/src/scatrans/data/mouse_2020A_gene_features.parquet
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|