Skip to main content

A metric for the evaluation of single-cell query-to-reference mappings

Project description

mapQC

Tests Documentation

A metric for the evaluation of single-cell query-to-reference mappings

Getting started

Please refer to the documentation, in particular, the API documentation for detailed package documentation. For reproduction of the results in the paper, check out the mapQC reproducibility repository.

Below a few notes on how and when to use MapQC:

What does mapQC do?

MapQC evaluates the quality of a query-to-reference mapping, and outputs a cell-level mapQC score for every query cell. MapQC scores higher than 2 indicate a large distance of the query cell to the reference. Given a healthy/control reference, we expect query controls to have low mapQC scores, and query case/disease cells to have higher mapQC scores in the case of case-specific cellular phenotypes. You can thus use mapQC scores to assess, in a quantitative manner, if your mapping was successful.

Overview of mapQC workflow

Overview of mapQC's workflow

What are the data requirements for using mapQC?

In short, you need one AnnData object, including:

  • A large scale reference, including only its healthy/control cells.
  • A mapped query dataset, with healthy/control cells (must-have) and case/perturbed cells (if you have them).
  • Metadata (query/reference status, study, sample, and optionally clustering and cell type annotations)
  • A mapping-derived embedding including both the reference and the query

In the quick-start tutorial notebook we provide a more extensive description of the exact data requirements.

Installation

You need to have Python 3.10 or newer installed on your system.

There are several alternative options to install mapqc:

  1. Install the latest release of mapqc from PyPI:
pip install mapqc
  1. Install the latest development version:
pip install git+https://github.com/theislab/mapqc.git@main

Release notes

See the changelog.

Contact

I am happy to hear any comments, suggestions, or even bugs that you run into. I would like to make this package run as smoothly as possible! So for any of these, submit an issue on the mapQC GitHub page and I will be glad to help.

Citation

t.b.a

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mapqc-0.1.0.tar.gz (15.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mapqc-0.1.0-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file mapqc-0.1.0.tar.gz.

File metadata

  • Download URL: mapqc-0.1.0.tar.gz
  • Upload date:
  • Size: 15.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mapqc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ceedade3af689466527e7b261d40e74d42c70e5ea9149de17cb2606d9d3b15e2
MD5 6520916bcd486a20c4cbd9a359b33266
BLAKE2b-256 552f354ba3c5e92798bd5c000247b245aece4e865f2a158b49b018c7825feccc

See more details on using hashes here.

Provenance

The following attestation bundles were made for mapqc-0.1.0.tar.gz:

Publisher: release.yaml on theislab/mapqc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mapqc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mapqc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mapqc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c6c003288fbe9e2cbaf0c3a00fab53c10ef5d6aff82b381a1b6f952e47d66df
MD5 7a708ca40be92b26a9c6905026cf8bc0
BLAKE2b-256 8fec5c77c1318415b6a8f749b861e471e04227ae4a4aaba9d3345b86c43086bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for mapqc-0.1.0-py3-none-any.whl:

Publisher: release.yaml on theislab/mapqc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page