Skip to main content

Spatial Single-Cell Analysis Toolkit

Project description

SCIMAP: A Python Toolkit for Integrated Spatial Analysis of Multiplexed Imaging Data


build-unix-mac-win docs Downloads PyPI Version PyPI License DOI



Scimap is a scalable toolkit for analyzing spatial molecular data. The underlying framework is generalizable to spatial datasets mapped to XY coordinates. The package uses the anndata framework making it easy to integrate with other popular single-cell analysis toolkits. It includes preprocessing, phenotyping, visualization, clustering, spatial analysis and differential spatial testing. The Python-based implementation efficiently deals with large datasets of millions of cells.

Citing scimap

Nirmal et al., (2024). SCIMAP: A Python Toolkit for Integrated Spatial Analysis of Multiplexed Imaging Data. Journal of Open Source Software, 9(97), 6604, https://doi.org/10.21105/joss.06604

Installation

We strongly recommend installing scimap in a fresh virtual environment.

# If you have conda installed
conda create --name scimap python=3.10
conda activate scimap

Install scimap directly into an activated virtual environment:

Firstly, we suggest installing scimap and napari together to enable visualization out of the box. Keep in mind, napari needs a GUI toolkit, such as PyQt. If you run into any issues because of your computer's operating system, install scimap and napari separately by following the guidance in napari's documentation.

Here's how you can install both using pip:

pip install "scimap[napari]"

If you encounter a problem with PyQt6 during the installation, you can install scimap alone first. Later on, if you find you need napari, you can go ahead and install it by itself.

To install just scimap:

pip install scimap

After installation, the package can be imported as:

$ python
>>> import scimap as sm

Get Started

Detailed documentation of scimap functions and tutorials are available here.

Scimap development was led by Ajit Johnson Nirmal, Harvard Medical School.
Check out other tools from the Nirmal Lab.

Contibute

Interested in contributing to the package? Check out our guidelines at https://scimap.xyz/contribute/ for detailed instructions.

Funding

This work was supported by the following NIH grant K99-CA256497

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

scimap-2.3.6.tar.gz (11.5 MB view details)

Uploaded Source

Built Distribution

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

scimap-2.3.6-py3-none-any.whl (11.6 MB view details)

Uploaded Python 3

File details

Details for the file scimap-2.3.6.tar.gz.

File metadata

  • Download URL: scimap-2.3.6.tar.gz
  • Upload date:
  • Size: 11.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.9 Darwin/25.3.0

File hashes

Hashes for scimap-2.3.6.tar.gz
Algorithm Hash digest
SHA256 32e080d1d9e363f03442f64d47b67935464cec8c6273d34b27281804372478bb
MD5 1248c51a215d9a426346d38ce12e1185
BLAKE2b-256 b53c5e6c99aa1a90dbb5b1c5308679f4fd9d8c6e368ae47f63f4ec8407bc50fe

See more details on using hashes here.

File details

Details for the file scimap-2.3.6-py3-none-any.whl.

File metadata

  • Download URL: scimap-2.3.6-py3-none-any.whl
  • Upload date:
  • Size: 11.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.9 Darwin/25.3.0

File hashes

Hashes for scimap-2.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d832006c9a5dc56b82398bd1bc314db0860c31910054eb76bdf48f2924303b5d
MD5 ccd60518f11ba77452f2ee0f0ba60b57
BLAKE2b-256 842b3e013939ace6782af26b9142ab7577b9a814afc4b949fbfaa4f937e69499

See more details on using hashes here.

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