Skip to main content

Interactive visualization of spatial omics data with napari

Project description

SpatialData banner

napari-spatialdata: interactive exploration and annotation of spatial omics data

License PyPI Python Version tests codecov pre-commit.ci status napari hub DOI Documentation Anaconda-Server Badge

This repository contains a napari plugin for interactively exploring and annotating SpatialData objects. Here you can find the napari-spatialdata documentation. napari-spatialdata is part of the SpatialData ecosystem. To learn more about SpatialData, please see the spatialdata documentation.

Installation

You can install napari-spatialdata via pip:

pip install napari-spatialdata[all]

The all command will install the qt bindings PyQt5.

Napari now also includes multiple triangulation backends. These improve the speed by which a napari 'Shapes' layer gets loaded (this does not improve the speed of editing large numbers of shapes yet!). See also the napari documentation and already slightly older blog post. For installation via pip:

pip install napari-spatialdata[all, bermuda]

You can find more details on this in the installation instructions.

Using napari-spatialdata as default zarr reader

If you would like to use the plugin as the default zarr reader, in napari please go to File -> Preferences -> Plugins and follow the instructions under File extension readers.

Development Version

You can install napari-spatialdata from Github with:

pip install git+https://github.com/scverse/napari-spatialdata

Or, you can also install in editable mode after cloning the repo by:

git clone https://github.com/scverse/napari-spatialdata
cd napari-spatialdata
pip install -e .

Note: when performing an editable install of napari-spatialdata, spatialdata will be reinstalled from pip. So, if you previously also made an editable install of spatialdata, you need to re-run pip install -e . on the spatialdata repository. Please find more details on this in the installation instructions.

Getting started

To learn how to use the napari-spatialdata plugin, please see the documentation. To learn how to integrate napari-spatialdata into your analysis workflows, please see the SpatialData tutorials. In particular:

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the BSD-3 license, "napari-spatialdata" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Citation

Marconato, L., Palla, G., Yamauchi, K.A. et al. SpatialData: an open and universal data framework for spatial omics. Nat Methods (2024). https://doi.org/10.1038/s41592-024-02212-x

napari-spatialdata is part of the scverse® project (website, governance) and is fiscally sponsored by NumFOCUS. If you like scverse® and want to support our mission, please consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.

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

napari_spatialdata-0.7.1.tar.gz (7.0 MB view details)

Uploaded Source

Built Distribution

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

napari_spatialdata-0.7.1-py3-none-any.whl (103.7 kB view details)

Uploaded Python 3

File details

Details for the file napari_spatialdata-0.7.1.tar.gz.

File metadata

  • Download URL: napari_spatialdata-0.7.1.tar.gz
  • Upload date:
  • Size: 7.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for napari_spatialdata-0.7.1.tar.gz
Algorithm Hash digest
SHA256 d1074300a436d5248d94f5a78b0868aed7ab4a04e813c72a833c74c54d41735d
MD5 6f1b8467d63a25cde045f918e99e2b1e
BLAKE2b-256 c09c526d2bc13311b759149a5084226bf48c78dacd78c985efe662c381fbbada

See more details on using hashes here.

File details

Details for the file napari_spatialdata-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_spatialdata-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3398144f33724e712f7e82494a13cf9c15e0f7f12cd7d92962195230c50378a
MD5 40ca47ef76b4290fceff378e739d7289
BLAKE2b-256 fc37832df549749d0b66bfdc5a6fc457c1175b78495d7ffa162b07130e5c96eb

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