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

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

Installation

You can install napari-spatialdata via pip:

pip install napari-spatialdata[extra]

The extra command will install the qt bindings PyQt5.

Note: if you have an M1/M2 Mac then you may get an error when installing PyQt5 via pip. A solution is to first install napari via conda (which will correctly install PyQt5), using

mamba install -c conda-forge napari pyqt

and then install napari-spatialdata via pip, but without the extra option:

pip install napari-spatialdata

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.

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.3.1.tar.gz (9.2 MB view details)

Uploaded Source

Built Distribution

napari_spatialdata-0.3.1-py3-none-any.whl (43.3 kB view details)

Uploaded Python 3

File details

Details for the file napari-spatialdata-0.3.1.tar.gz.

File metadata

  • Download URL: napari-spatialdata-0.3.1.tar.gz
  • Upload date:
  • Size: 9.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for napari-spatialdata-0.3.1.tar.gz
Algorithm Hash digest
SHA256 decadbc0a8b72ce02c1fd57869111b1ada8a024b9fc2f53f4afb47dccf8a89a0
MD5 bbd33d6b4d8e0b887b5fbf19f2e8b4ce
BLAKE2b-256 5da6e70721688fc6e3a834a40beb33bcd91673047bf8a17480984377699a3de7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for napari_spatialdata-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4d8c193de0e86faaaefe2bf30aa3174241e62f317649418c38d4211e02ff121
MD5 ea4b6c63f953260d9c8d7cb13411026b
BLAKE2b-256 e974253bfd56cd3096b1c1a4ec578cbec264bb25c20a1fc917fc785d812c9057

See more details on using hashes here.

Provenance

Supported by

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