Skip to content

Commit ed66911

Browse files
authored
Merge pull request #19 from quadbio/docs/tutorial
Write a tutorial
2 parents 52ed112 + 542e552 commit ed66911

File tree

12 files changed

+1078
-183
lines changed

12 files changed

+1078
-183
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ __pycache__/
1818
# docs
1919
/docs/generated/
2020
/docs/_build/
21+
.ipynb_checkpoints/
22+
23+
# datasets
24+
*.h5ad

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning][].
1414
- Included tests for the `check` module, and more tests for the main classes {pr}`15`.
1515
- Implemented the computation of presence scores, following HNOCA-tools {pr}`16`.
1616
- Add a `groupby` parameter to expression transfer evaluation {pr}`16`.
17+
- Add a `test_var_key` parameter to expression transfer evaluation {pr}`19`.
18+
- Add a tutorial on spatial mapping {pr}`19`.
1719

1820
## [v0.1.1]
1921

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
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.
1616

17-
Inspired by scanpy's [ingest][] and the [HNOCA-tools][] packages. Check out the [docs][] to learn more.
17+
Inspired by scanpy's [ingest][] and the [HNOCA-tools][] packages. Check out the [docs][] to learn more, in particular our [tutorials][].
1818

1919
## Installation
2020

@@ -69,6 +69,7 @@ Please cite this GitHub repo if you find CellMapper useful for your research.
6969
[tests]: https://github.com/quadbio/cellmapper/actions/workflows/test.yaml
7070
[changelog]: https://cellmapper.readthedocs.io/en/latest/changelog.html
7171
[docs]: https://cellmapper.readthedocs.io/
72+
[tutorials]: https://cellmapper.readthedocs.io/en/latest/notebooks/tutorials/index.html
7273
[pypi]: https://pypi.org/project/cellmapper
7374
[coverage]: https://codecov.io/gh/quadbio/cellmapper
7475
[pre-commit]: https://results.pre-commit.ci/latest/github/quadbio/cellmapper/main

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ changelog.md
1111
contributing.md
1212
references.md
1313
14-
notebooks/example
14+
notebooks/tutorials/index
1515
```

docs/notebooks/example.ipynb

Lines changed: 0 additions & 171 deletions
This file was deleted.

docs/notebooks/tutorials/index.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Tutorials
2+
=========
3+
This section contains tutorials showcasing use cases for k-NN based mapping of cells across representations with :mod:`cellmapper`.
4+
5+
.. toctree::
6+
:maxdepth: 1
7+
:glob:
8+
9+
*

0 commit comments

Comments
 (0)