A simple python package that loads in fluorescence microscopy images and their segmentations, calculates cell properties (e.g. area, mean intensity), and counts cells per clone.
Project description
clonedetective
A python library for automated cell lineage analysis.
What does it do?
clonedetective is a package for analysing fluorescent imaging data from cell lineage experiments (e.g. FLP-out, MARCM or Cre-lox clones).
Outputted quantifications include:
- counts of each cell type per “clone”
- spatial metrics e.g. number of nearest neighbors of each cell per clone
- cell and clone properties e.g. area, mean intensity etc.
If clones label genetic mutations, these metrics can be useful in addressing biological questions such as:
- does my gene of interest regulate clone size (i.e. cell proliferation) or clone composition (i.e. cell differentiation)?
- does the local cell neighbourhood (e.g. number and type of neighbours) non-autonomously impact cell proliferation or differentiation?
- does my gene of interest regulate the expression of other (immunostained) proteins?
Under the hood
clonedetective is constructed using many amazing python libraries, including scikit-image, numpy, Xarray, pandas, numba, Dask, Dask-image and pyclesperanto-prototype.
Many functions are lazy-loaded and parallelized using Dask, enabling clonedetective to scale to large multi-dimensional datasets that do not fit in RAM.
Install
It is recommended to install clonedetective into a virtual environment e.g. using conda. Once you have anaconda or miniconda installed, you can create a virtual environment using the following command. It is often helpful to install something into an empty environment, in this case we install scipy:
conda create -n myenv scipy
You can then install clonedetective via pip:
pip install clonedetective
How to use
Please see the tutorials:
- Example walkthrough
- Downstream Analysis using Python
- Downstream Analysis using R
- Generating nuclei segmentation using StarDist
In progress, more to come!
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 clonedetective-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d02563cf184d97b4c89111840262cb529f182401b34894697d415c1f0a9ffc |
|
MD5 | 2d3bbf481d5c869d88415ad0e40ef628 |
|
BLAKE2b-256 | c683ba3b198560f47c6a1f54f8d1a73d0b7d91f304fd9aac76dc48c140c23d44 |