Skip to content

Commit b79584b

Browse files
authored
Merge pull request #44 from quadbio/docs/readme
Prettify the README a bit.
2 parents 52a5042 + 6b32b81 commit b79584b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,38 +18,38 @@
1818

1919
k-NN-based mapping of cells across representations to transfer 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.
2020

21-
Inspired by previous tools, including scanpy's [ingest][] and the [HNOCA-tools][] packages. Check out the [docs][] to learn more, in particular our [tutorials][].
21+
Inspired by previous tools, including scanpy's [ingest][] and the [HNOCA-tools][] packages. Check out the 📚 [docs][] to learn more, in particular our [tutorials][].
2222

23-
## Key use cases
23+
## Key use cases
2424

25-
- Transfer cell type labels and expression values from dissociated to spatial datasets.
26-
- Transfer embeddings between arbitrary query and reference datasets.
27-
- Compute presence scores for query datasets in large reference atlasses.
28-
- Identify niches in spatial datasets by contextualizing latent spaces in spatial coordinates.
29-
- Evaluate the results of transferring labels, embeddings and feature spaces using a variety of metrics.
25+
- 🧬 Transfer cell type labels and expression values from dissociated to spatial datasets.
26+
- ↔️ Transfer embeddings between arbitrary query and reference datasets.
27+
- 📊 Compute presence scores for query datasets in large reference atlasses.
28+
- 🗺️ Identify niches in spatial datasets by contextualizing latent spaces in spatial coordinates.
29+
- 📈 Evaluate the results of transferring labels, embeddings and feature spaces using a variety of metrics.
3030

3131
The core idea of `CellMapper` is to separate the method (k-NN graph with some kernel applied to get a mapping matrix) from the application (mapping across arbitrary representations), to be flexible and fast. The tool currently supports [pynndescent][], [sklearn][], [faiss][] and [rapids][] for neighborhood search, implements a variety of graph kernels, and is closely integrated with `AnnData` objects.
3232

33-
## Installation
33+
## 📦 Installation
3434

35-
You need to have Python 3.10 or newer installed on your system.
35+
You need to have 🐍 Python 3.10 or newer installed on your system.
3636
If you don't have Python installed, we recommend installing [uv][].
3737

3838
There are two alternative options to install ``cellmapper``:
3939

40-
- Install the latest release from [PyPI][]:
40+
- 🚀 Install the latest release from [PyPI][]:
4141

4242
```bash
4343
pip install cellmapper
4444
```
4545

46-
- Install the latest development version:
46+
- 🛠️ Install the latest development version:
4747

4848
```bash
4949
pip install git+https://github.com/quadbio/cellmapper.git@main
5050
```
5151

52-
## Getting started
52+
## 🏁 Getting started
5353

5454
This package assumes that you have ``query`` and ``reference`` AnnData objects, with a joint embedding computed and stored in ``.obsm``. While we implement some baseline approaches to compute joint embeddings (PCA and a fast reimplementation of CCA), we typically expect you to provide a pre-computed joint embedding from some task-specific representation learning tools, e.g. [GimVI][] or [ENVI][] for spatial mapping, [GLUE][], [MIDAS][] and [MOFA+][] for modality translation, and [scVI][], [scANVI][] and [scArches][] for query-to-reference mapping - this is just a small selection!
5555

@@ -64,17 +64,17 @@ cmap = CellMapper(query, reference).map(
6464

6565
This will transfer data from the reference to the query dataset, including celltype labels stored in ``reference.obs``, a UMAP embedding stored in ``reference.obsm``, and expression values stored in ``reference.X``.
6666

67-
There are many ways to customize this, e.g. use different ways to compute k-NN graphs and to turn them into mapping matrices, and we implement a few methods to evaluate whether your k-NN transfer was sucessful. The tool also implements a `self-mapping` mode (only a query object, no reference), which is useful for spatial contextualization and data denoising. Check out the [docs][] to learn more.
67+
There are many ways to customize this, e.g. use different ways to compute k-NN graphs and to turn them into mapping matrices, and we implement a few methods to evaluate whether your k-NN transfer was sucessful. The tool also implements a `self-mapping` mode (only a query object, no reference), which is useful for spatial contextualization and data denoising. Check out the 📚 [docs][] to learn more.
6868

69-
## Release notes
69+
## 📝 Release notes
7070

7171
See the [changelog][].
7272

73-
## Contact
73+
## 📬 Contact
7474

7575
If you found a bug, please use the [issue tracker][].
7676

77-
## Citation
77+
## 📖 Citation
7878
Please use our [zenodo][] entry to cite this software.
7979

8080
[uv]: https://github.com/astral-sh/uv

0 commit comments

Comments
 (0)