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
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.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fa775ad6effd51849ae05e236054c3b455aaa3c7a596d446d94e86d5695f31a |
|
MD5 | e5b7674e9c1fd7a0f7f7f867b93b83bc |
|
BLAKE2b-256 | 4679ff9e6bc7eef7a1da62a436daecbb8eb05437ae69355fce8321a024dd034d |