cellmapper 0.1.4__tar.gz → 0.2.0__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.
- {cellmapper-0.1.4 → cellmapper-0.2.0}/CHANGELOG.md +13 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/PKG-INFO +5 -3
- {cellmapper-0.1.4 → cellmapper-0.2.0}/README.md +4 -2
- cellmapper-0.2.0/docs/notebooks/tutorials/data_denoising.ipynb +829 -0
- cellmapper-0.2.0/docs/notebooks/tutorials/query_to_reference_mapping.ipynb +1028 -0
- cellmapper-0.2.0/docs/notebooks/tutorials/spatial_mapping.ipynb +956 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/notebooks/tutorials/spatial_smoothing.ipynb +15 -16
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/references.bib +72 -12
- {cellmapper-0.1.4 → cellmapper-0.2.0}/src/cellmapper/__init__.py +3 -2
- cellmapper-0.2.0/src/cellmapper/constants.py +20 -0
- cellmapper-0.2.0/src/cellmapper/model/_knn_backend.py +163 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/src/cellmapper/model/cellmapper.py +326 -139
- {cellmapper-0.1.4 → cellmapper-0.2.0}/src/cellmapper/model/evaluate.py +1 -1
- cellmapper-0.2.0/src/cellmapper/model/kernel.py +461 -0
- cellmapper-0.2.0/src/cellmapper/model/mapping_operator.py +523 -0
- cellmapper-0.2.0/src/cellmapper/model/neighbors.py +422 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/src/cellmapper/utils.py +7 -36
- {cellmapper-0.1.4 → cellmapper-0.2.0}/tests/conftest.py +1 -1
- {cellmapper-0.1.4 → cellmapper-0.2.0}/tests/model/test_evaluate.py +2 -2
- cellmapper-0.1.4/tests/model/test_neighbors.py → cellmapper-0.2.0/tests/model/test_kernel.py +17 -16
- cellmapper-0.1.4/tests/model/test_neighbors_results.py → cellmapper-0.2.0/tests/model/test_neighbors.py +12 -11
- {cellmapper-0.1.4 → cellmapper-0.2.0}/tests/model/test_query_to_reference_mapping.py +7 -6
- cellmapper-0.2.0/tests/model/test_self_mapping.py +504 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/tests/test_utils.py +27 -61
- cellmapper-0.1.4/docs/notebooks/tutorials/spatial_mapping.ipynb +0 -980
- cellmapper-0.1.4/src/cellmapper/constants.py +0 -4
- cellmapper-0.1.4/src/cellmapper/model/knn.py +0 -492
- cellmapper-0.1.4/tests/model/test_self_mapping.py +0 -208
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.codecov.yaml +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.cruft.json +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.editorconfig +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.github/workflows/build.yaml +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.github/workflows/release.yaml +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.github/workflows/test.yaml +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.gitignore +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.pre-commit-config.yaml +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.readthedocs.yaml +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.vscode/extensions.json +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.vscode/launch.json +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/.vscode/settings.json +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/LICENSE +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/biome.jsonc +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/_static/.gitkeep +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/_static/css/custom.css +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/_static/images/cellmapper_logo_dark.svg +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/_static/images/cellmapper_logo_light.svg +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/_templates/.gitkeep +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/_templates/autosummary/class.rst +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/api.md +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/changelog.md +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/conf.py +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/contributing.md +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/extensions/typed_returns.py +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/index.md +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/notebooks/tutorials/index.rst +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/docs/references.md +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/pyproject.toml +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/src/cellmapper/check.py +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/src/cellmapper/logging.py +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/src/cellmapper/model/embedding.py +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/tests/data/precomputed_leiden.csv +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/tests/model/test_embedding.py +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/tests/test_basic.py +0 -0
- {cellmapper-0.1.4 → cellmapper-0.2.0}/tests/test_check.py +0 -0
|
@@ -10,6 +10,19 @@ and this project adheres to [Semantic Versioning][].
|
|
|
10
10
|
|
|
11
11
|
## [Unreleased]
|
|
12
12
|
|
|
13
|
+
## [v0.2.0]
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- Added a tutorial on same-modality query to reference mapping {pr}`38`
|
|
17
|
+
- Added a tutorial on data smoothing {pr}`37`
|
|
18
|
+
- Added an option to return the mapping probabilities for categorical `.obs` mapping {pr}`39`
|
|
19
|
+
- Added a `MappingOperator` class which allows for iterative mapping matrix applicatino in self-mapping mode {pr}`35`
|
|
20
|
+
- Add the `umap` method to compute symmetric k-NN connectivities in self-mapping mode {pr}`34`
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- Refectored the neighbors classes into a `Neighobrs` and a `Kernel` class and moved symmetrization into the `Kernel` class {pr}`36`
|
|
24
|
+
|
|
25
|
+
|
|
13
26
|
## [v0.1.4]
|
|
14
27
|
### Changed
|
|
15
28
|
- Rename mapping methods to `map_obs`, `map_obsm`, and `map_layers`, and improve support for numerical `.obs` annotations {pr}`30`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cellmapper
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: k-NN-based mapping of cells across representations
|
|
5
5
|
Project-URL: Documentation, https://cellmapper.readthedocs.io/
|
|
6
6
|
Project-URL: Homepage, https://github.com/quadbio/cellmapper
|
|
@@ -84,6 +84,7 @@ Description-Content-Type: text/markdown
|
|
|
84
84
|
[![PyPI][badge-pypi]][pypi]
|
|
85
85
|
[![Documentation][badge-docs]][docs]
|
|
86
86
|
[![Downloads][badge-downloads]][downloads]
|
|
87
|
+
[![Zenodo][badge-zenodo]][zenodo]
|
|
87
88
|
|
|
88
89
|
[badge-tests]: https://github.com/quadbio/cellmapper/actions/workflows/test.yaml/badge.svg
|
|
89
90
|
[badge-coverage]: https://codecov.io/gh/quadbio/cellmapper/branch/main/graph/badge.svg
|
|
@@ -91,6 +92,7 @@ Description-Content-Type: text/markdown
|
|
|
91
92
|
[badge-pypi]: https://img.shields.io/pypi/v/cellmapper.svg
|
|
92
93
|
[badge-docs]: https://img.shields.io/readthedocs/cellmapper
|
|
93
94
|
[badge-downloads]: https://static.pepy.tech/badge/cellmapper
|
|
95
|
+
[badge-zenodo]: https://zenodo.org/badge/973714072.svg
|
|
94
96
|
|
|
95
97
|
k-NN-based mapping of cells across representations to tranfer labels, embeddings and expression values. Works for millions of cells, on CPU and GPU, across molecular modalities, between spatial and non-spatial data, for arbitrary query and reference datasets. Using [faiss][] to compute k-NN graphs, CellMapper takes about 30 seconds to transfer cell type labels from 1.5M cells to 1.5M cells on a single RTX 4090 with 60 GB CPU memory.
|
|
96
98
|
|
|
@@ -151,8 +153,7 @@ See the [changelog][].
|
|
|
151
153
|
If you found a bug, please use the [issue tracker][].
|
|
152
154
|
|
|
153
155
|
## Citation
|
|
154
|
-
|
|
155
|
-
Please cite this GitHub repo if you find CellMapper useful for your research.
|
|
156
|
+
Please use our [zenodo][] entry to cite this software.
|
|
156
157
|
|
|
157
158
|
[uv]: https://github.com/astral-sh/uv
|
|
158
159
|
[issue tracker]: https://github.com/quadbio/cellmapper/issues
|
|
@@ -165,6 +166,7 @@ Please cite this GitHub repo if you find CellMapper useful for your research.
|
|
|
165
166
|
[pre-commit]: https://results.pre-commit.ci/latest/github/quadbio/cellmapper/main
|
|
166
167
|
[pypi]: https://pypi.org/project/cellmapper/
|
|
167
168
|
[downloads]: https://pepy.tech/project/cellmapper
|
|
169
|
+
[zenodo]: https://doi.org/10.5281/zenodo.15683594
|
|
168
170
|
|
|
169
171
|
[faiss]: https://github.com/facebookresearch/faiss
|
|
170
172
|
[pynndescent]: https://github.com/lmcinnes/pynndescent
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
[![PyPI][badge-pypi]][pypi]
|
|
7
7
|
[![Documentation][badge-docs]][docs]
|
|
8
8
|
[![Downloads][badge-downloads]][downloads]
|
|
9
|
+
[![Zenodo][badge-zenodo]][zenodo]
|
|
9
10
|
|
|
10
11
|
[badge-tests]: https://github.com/quadbio/cellmapper/actions/workflows/test.yaml/badge.svg
|
|
11
12
|
[badge-coverage]: https://codecov.io/gh/quadbio/cellmapper/branch/main/graph/badge.svg
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
[badge-pypi]: https://img.shields.io/pypi/v/cellmapper.svg
|
|
14
15
|
[badge-docs]: https://img.shields.io/readthedocs/cellmapper
|
|
15
16
|
[badge-downloads]: https://static.pepy.tech/badge/cellmapper
|
|
17
|
+
[badge-zenodo]: https://zenodo.org/badge/973714072.svg
|
|
16
18
|
|
|
17
19
|
k-NN-based mapping of cells across representations to tranfer labels, embeddings and expression values. Works for millions of cells, on CPU and GPU, across molecular modalities, between spatial and non-spatial data, for arbitrary query and reference datasets. Using [faiss][] to compute k-NN graphs, CellMapper takes about 30 seconds to transfer cell type labels from 1.5M cells to 1.5M cells on a single RTX 4090 with 60 GB CPU memory.
|
|
18
20
|
|
|
@@ -73,8 +75,7 @@ See the [changelog][].
|
|
|
73
75
|
If you found a bug, please use the [issue tracker][].
|
|
74
76
|
|
|
75
77
|
## Citation
|
|
76
|
-
|
|
77
|
-
Please cite this GitHub repo if you find CellMapper useful for your research.
|
|
78
|
+
Please use our [zenodo][] entry to cite this software.
|
|
78
79
|
|
|
79
80
|
[uv]: https://github.com/astral-sh/uv
|
|
80
81
|
[issue tracker]: https://github.com/quadbio/cellmapper/issues
|
|
@@ -87,6 +88,7 @@ Please cite this GitHub repo if you find CellMapper useful for your research.
|
|
|
87
88
|
[pre-commit]: https://results.pre-commit.ci/latest/github/quadbio/cellmapper/main
|
|
88
89
|
[pypi]: https://pypi.org/project/cellmapper/
|
|
89
90
|
[downloads]: https://pepy.tech/project/cellmapper
|
|
91
|
+
[zenodo]: https://doi.org/10.5281/zenodo.15683594
|
|
90
92
|
|
|
91
93
|
[faiss]: https://github.com/facebookresearch/faiss
|
|
92
94
|
[pynndescent]: https://github.com/lmcinnes/pynndescent
|