Tissue Tag: jupyter image annotator
Project description
Tissue Tag jupyter image annotator
A jupyter-based image annotation tool - TissueTag is powered by the Bokeh python library (http://www.bokeh.pydata.org) and provides a simple annotation solution with subpixel resolution for fast interactive annotation of any image type or kind (brightfield, fluorescence, etc) as well as spatial omics. TissueTag generates discrete annotations (e.g. cortex, medulla etc) but can also output the euclidean distance of each spot/cell to the closest part of a given morphological structure, enabling continuous annotation. This thus holds spatial neighbourhood information that goes beyond the x-y coordinates of a given spot or cell.
We see this tool as a basic start and feel there are many useful applicaitons that could be added, so we welcome any contibution and look forward to suggestions!
Installation
- You need to install either jupyter-lab or jupyter-notebook
- Install TissueTag using pip:
pip install tissue-tag
General instructions and examples:
When running on farm, you need to set the port (e.g., 5011) you are using to get it plot properly in the correct place.
setting up an environment for visium annotation
-
create env
conda create -n tissuetag python=3.9
conda activate tissuetag
-
install tissuetag, scanpy and jupyterlab
pip install tissue-tag
pip install scanpy
conda install -c conda-forge jupyterlab
-
install kernel
ipython kernel install --name tissuetag --user
importing in a notebook
import tissue_tag as tt
How to cite:
preprint coming! stay tuned
How to use
We supply 2 examples of usage for TissueTag annotations:
- visium spatial transcriptomics
- IBEX singel cell multiplex protein imaging in this example we annotate a postnatal thymus image by calling the major anatomimcal reagios and training a random forst classifier for intial prediction follwed by manual corrections IBEX flourecent tutorial
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
Hashes for tissue_tag-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 162923f90b2aa47cdffab89c1c6ab18be020b840c6280645ec8a065691d482b3 |
|
MD5 | 6f182bef20fbdef69e8ebbf603a11a1a |
|
BLAKE2b-256 | 4ac39b0c52969806a86c8e82a5058720ad0870ac4f0a3a213e108316b654d673 |