Flow Cytometry Toolkit
Project description
Overview
FlowKit is an intuitive Python toolkit for flow cytometry analysis and visualization, including GatingML 2.0 support. Features include:
- Reading Flow Cytometry Standard data (FCS files), including FCS versions:
- 2.0
- 3.0
- 3.1
- Exporting FCS data in any of the following formats:
- A new FCS 3.1 file, with modified metadata and/or filtered events
- NumPy array
- Pandas DataFrame
- CSV text file
- Compensating FCS events using spillover matrices in multiple formats:
- As the $SPILL or $SPILLOVER keyword value format
- FlowJo tab-delimited text format
- NumPy array
- GatingML 2.0 spectrumMatrix XML element
- Tranformation of original or compensated events in a variety of transforms used in the flow community:
- Logicle
- Inverse hyperbolic sine (arcsinh)
- Hyperlog
- Logarithmic
- Channel ratios
- Linear
- Optional, automatic filtering of negative scatter events and/or anomalous events
- Visualizing FCS event data:
- Histogram of single channel data with a Gaussian kernel density estimate curve
- Contour density plot of two channels
- Interactive scatter plot of two channels
- Interactive scatter plot matrix of any combination of channels
Requirements
FlowKit supports Python version 3.6 or above. All dependencies are installable via pip, and include:
- flowio >= 0.9.3
- flowutils >= 0.6.8
- numpy >= 0.15
- scipy >= 1.0
- pandas >= 0.19
- matplotlib >= 3.0
- seaborn >= 0.9
- bokeh >= 1.0
- lxml >= 4.2
- anytree >= 2.4
Installation
From PyPI
pip install flowkit
From source
git clone https://github.com/whitews/flowkit
cd flowkit
python setup.py install
Usage
Check out the example notebooks:
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file FlowKit-0.1.0.tar.gz.
File metadata
- Download URL: FlowKit-0.1.0.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.0 tqdm/4.30.0 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf57c845581d8484cd6994ae9f64d3bdcbeaa0382e8c59de1d5cbbc7116acc70
|
|
| MD5 |
859b50724e77d7ecbde8d275a1980605
|
|
| BLAKE2b-256 |
9b6a1d33fe890e519a60ad5a5680369cccb812c8a1869cf9771b09b06e30c765
|
File details
Details for the file FlowKit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: FlowKit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 38.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.0 tqdm/4.30.0 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec0005f9bf6ad0bdf34884ae0d923ef7f73dd2bbcc04ed2fcebe6e0fcac7b388
|
|
| MD5 |
302fa387dff9f7dbe9b7ebaf9ca1f084
|
|
| BLAKE2b-256 |
6f6175562685b8e398311e796a55d4f9c3d63ba7ff4194d8926986442fdf7146
|