Static plotting for spatial data.
Project description
spatialdata-plot: rich static plotting from SpatialData objects
The spatialdata-plot
package extends spatialdata
with a declarative plotting API that enables to quickly visualize spatialdata
objects and their respective elements (i.e. images
, labels
, points
and shapes
).
SpatialData’s plotting capabilities allow to quickly visualise all contained modalities. The user can specify which elements should be rendered (images, labels, points, shapes) and specify certain parameters for each layer, such as for example the intent to color shapes by a gene’s expression profile or which color to use for which image channel. When the plot is then eventually displayed, all transformations, alignments and coordinate systems are internally processed to form the final visualisation. In concordance with the general SpatialData philosophy, all modalities of the major spatial technologies are supported out of the box.
Getting started
For more information on the spatialdata-plot
library, please refer to the documentation. In particular, the
- API documentation.
- Example notebooks (section "Visiualizations")
Installation
You need to have Python 3.8 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.
There are several alternative options to install spatialdata-plot:
- Install the latest development version:
pip install git+https://github.com/scverse/spatialdata-plot.git@main
Contact
For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.
Citation
If you use spatialdata
in your work, please cite the spatialdata
publication as follows:
SpatialData: an open and universal data framework for spatial omics
Luca Marconato, Giovanni Palla, Kevin A. Yamauchi, Isaac Virshup, Elyas Heidari, Tim Treis, Marcella Toth, Rahul Shrestha, Harald Vöhringer, Wolfgang Huber, Moritz Gerstung, Josh Moore, Fabian J. Theis, Oliver Stegle
bioRxiv 2023.05.05.539647; doi: https://doi.org/10.1101/2023.05.05.539647
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 spatialdata_plot-0.0.4.tar.gz
.
File metadata
- Download URL: spatialdata_plot-0.0.4.tar.gz
- Upload date:
- Size: 22.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ec962979e0be62b05ceb36ab0fcd5395eb32bd74aa8c5b563c31cc13eb21c33 |
|
MD5 | f3c62727a2f41d999b908bfbe3b72299 |
|
BLAKE2b-256 | 7332341f95fdce62283493b9caaadd288bb52708729f8f110e8e8f92f6daf3db |
File details
Details for the file spatialdata_plot-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: spatialdata_plot-0.0.4-py3-none-any.whl
- Upload date:
- Size: 31.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e36dcb139a31c088864b13a41c3dd8e4d4f022899b5c2a241b575c958caa0338 |
|
MD5 | fb7f4f8c857d0a7b6887e9df3d16b4e2 |
|
BLAKE2b-256 | 23fd2b96b97c1ab3245aa06297da86c19e3f00d4ee2ae2cf0b679477ea90d2f2 |