Interactive visualization of spatial omics data with napari
Project description
napari-spatialdata: interactive exploration and annotation of spatial omics data
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.
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
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
Built Distribution
File details
Details for the file napari-spatialdata-0.4.0.tar.gz
.
File metadata
- Download URL: napari-spatialdata-0.4.0.tar.gz
- Upload date:
- Size: 9.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41eb502a60fe45c75a2b916841afc963f97675a0f217dca6ac648c9b805bd6f4 |
|
MD5 | ca71d5c9d82553195fdd8db2bb80c389 |
|
BLAKE2b-256 | ccce8581444d43ecaf7a305bcdae8275c3a4bb2e6c88d879d88c155209294656 |
Provenance
File details
Details for the file napari_spatialdata-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: napari_spatialdata-0.4.0-py3-none-any.whl
- Upload date:
- Size: 47.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1616dc9b361847edeb9b55d211ae29b7aaf358ccf37096582e453722df6e560 |
|
MD5 | e380252aa895ea6212353a2780339087 |
|
BLAKE2b-256 | 5c6f424e74791846c36d4f8468ffe564b1a85b5516e8d4fb45bdf1e6c251a010 |