rctd-py 0.1.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.
Files changed (37) hide show
  1. rctd_py-0.1.1/.gitignore +47 -0
  2. rctd_py-0.1.1/CITATION.cff +39 -0
  3. rctd_py-0.1.1/LICENSE +674 -0
  4. rctd_py-0.1.1/PKG-INFO +238 -0
  5. rctd_py-0.1.1/README.md +205 -0
  6. rctd_py-0.1.1/analysis_region3.html +1176 -0
  7. rctd_py-0.1.1/analysis_region3.qmd +614 -0
  8. rctd_py-0.1.1/pyproject.toml +63 -0
  9. rctd_py-0.1.1/src/rctd/__init__.py +28 -0
  10. rctd_py-0.1.1/src/rctd/_doublet.py +387 -0
  11. rctd_py-0.1.1/src/rctd/_full.py +86 -0
  12. rctd_py-0.1.1/src/rctd/_irwls.py +224 -0
  13. rctd_py-0.1.1/src/rctd/_likelihood.py +324 -0
  14. rctd_py-0.1.1/src/rctd/_multi.py +357 -0
  15. rctd_py-0.1.1/src/rctd/_normalize.py +87 -0
  16. rctd_py-0.1.1/src/rctd/_rctd.py +291 -0
  17. rctd_py-0.1.1/src/rctd/_reference.py +242 -0
  18. rctd_py-0.1.1/src/rctd/_sigma.py +165 -0
  19. rctd_py-0.1.1/src/rctd/_simplex.py +30 -0
  20. rctd_py-0.1.1/src/rctd/_types.py +73 -0
  21. rctd_py-0.1.1/src/rctd/_version.py +34 -0
  22. rctd_py-0.1.1/src/rctd/py.typed +0 -0
  23. rctd_py-0.1.1/test_py.py +25 -0
  24. rctd_py-0.1.1/tests/conftest.py +89 -0
  25. rctd_py-0.1.1/tests/test_doublet.py +49 -0
  26. rctd_py-0.1.1/tests/test_full.py +37 -0
  27. rctd_py-0.1.1/tests/test_irwls.py +154 -0
  28. rctd_py-0.1.1/tests/test_likelihood.py +176 -0
  29. rctd_py-0.1.1/tests/test_multi.py +52 -0
  30. rctd_py-0.1.1/tests/test_normalize.py +29 -0
  31. rctd_py-0.1.1/tests/test_q_matrices.py +39 -0
  32. rctd_py-0.1.1/tests/test_rctd.py +69 -0
  33. rctd_py-0.1.1/tests/test_reference.py +144 -0
  34. rctd_py-0.1.1/tests/test_sigma.py +34 -0
  35. rctd_py-0.1.1/tests/test_simplex.py +61 -0
  36. rctd_py-0.1.1/uv.lock +1421 -0
  37. rctd_py-0.1.1/vignette_bench.sh +26 -0
@@ -0,0 +1,47 @@
1
+ # Virtual environments
2
+ .venv/
3
+ .env/
4
+
5
+ # Python
6
+ __pycache__/
7
+ *.pyc
8
+ *.pyo
9
+ *.egg-info/
10
+ dist/
11
+ build/
12
+
13
+ # Testing
14
+ .pytest_cache/
15
+ htmlcov/
16
+ .coverage
17
+ coverage.xml
18
+
19
+ # Data (large reference/validation files)
20
+ data/
21
+
22
+ # R reference validation data
23
+ scripts/r_reference/
24
+
25
+ # Package data (keep q_matrices.npz, ignore everything else)
26
+ src/rctd/data/*
27
+ !src/rctd/data/q_matrices.npz
28
+
29
+ # IDE
30
+ .vscode/
31
+ .idea/
32
+
33
+ # OS
34
+ .DS_Store
35
+ Thumbs.db
36
+
37
+ # SLURM / HPC
38
+ *.log
39
+ *.err
40
+ /scratch/
41
+
42
+ # Build artifacts
43
+ *.knit.md
44
+
45
+ # Generated version file
46
+ src/rctd/_version.py
47
+ docs/plans/
@@ -0,0 +1,39 @@
1
+ cff-version: 1.2.0
2
+ title: "rctd-py: GPU-accelerated RCTD for spatial transcriptomics"
3
+ message: >-
4
+ If you use this software, please cite the original
5
+ spacexr RCTD paper.
6
+ type: software
7
+ authors:
8
+ - given-names: Paul
9
+ family-names: Gueguen
10
+ license: GPL-3.0-or-later
11
+ repository-code: "https://github.com/p-gueguen/rctd-py"
12
+ keywords:
13
+ - spatial-transcriptomics
14
+ - deconvolution
15
+ - single-cell
16
+ - JAX
17
+ - GPU
18
+ references:
19
+ - type: article
20
+ title: "Robust decomposition of cell type mixtures in spatial transcriptomics"
21
+ authors:
22
+ - given-names: Dylan M
23
+ family-names: Cable
24
+ - given-names: Evan
25
+ family-names: Murray
26
+ - given-names: Luli S
27
+ family-names: Zou
28
+ - given-names: Aleksandrina
29
+ family-names: Goeva
30
+ - given-names: Evan Z
31
+ family-names: Macosko
32
+ - given-names: Fei
33
+ family-names: Chen
34
+ journal: "Nature Biotechnology"
35
+ volume: 40
36
+ start: 517
37
+ end: 526
38
+ year: 2022
39
+ doi: "10.1038/s41587-021-00830-w"