flowcytometrytools

A python package for visualization and analysis of high-throughput flow cytometry data

https://github.com/eyurtsev/flowcytometrytools

Science Score: 33.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    2 of 13 committers (15.4%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A python package for visualization and analysis of high-throughput flow cytometry data

Basic Info
Statistics
  • Stars: 121
  • Watchers: 10
  • Forks: 45
  • Open Issues: 11
  • Releases: 4
Created over 11 years ago · Last pushed almost 3 years ago
Metadata Files
Readme Changelog License

README.rst

FlowCytometryTools
-------------------

**Authors**: Jonathan Friedman and `Eugene Yurtsev `_

.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.32991.svg
    :target: https://zenodo.org/record/32991   


FlowCytometryTools is a python package for visualization and analysis of high-throughput flow cytometry data.

* **Intuitive**: provides a simple programmatic interface to work with flow cytometry data
* **Flexible**: can analyze either individual samples or collections of many plates
* **Scalable**: simplifies analysis of high-throughput data using the power of `pandas `_ 

Who is this for?
=====================

FlowCytometryTools is for researchers who want to use the python programming language to analyze flow cytometry data.

The package is specifically tailored for high-throughput analysis. It provides an interface that can directly work with collections of flow cytometry measurements (e.g., 96-well plates).

Basic familiarity with the python programming languages is recommended.

You can find a few example scripts that load and plot flow cytometry data in the `gallery `_ page.

If you like what you see, then proceed to the `installation `_ page and then
to the `tutorial `_.


And yes, there's a UI to draw basic gates. It's super basic, but it gets the job done.

.. image:: https://github.com/eyurtsev/FlowCytometryTools/blob/master/doc/source/_static/webagg_demo.gif 
  :target: https://github.com/eyurtsev/FlowCytometryTools/blob/master/doc/source/_static/webagg_demo.gif 

.. image:: _static/webagg_demo.gif
  :target: _static/webagg_demo.gif


Features
===================

- **Transformations**: hyperlog (hlog), truncated log (tlog), or anything you can dream of ;)
- **Plotting**: 1D, 2D histograms for both single samples and collections (e.g., 96-well plates).
- **Gating**: threshold, interval, quad, polygon gates
- **Subsampling**: easy to subsample to examine only part of a measurement and randomize event order
- **GUI**: simple graphical user interface to draw gates (`wx` or `webagg`)
- **FCS Formats**: Supports FCS 2.0, 3.0, and 3.1

Resources
===================

- **Documentation:** https://eyurtsev.github.io/FlowCytometryTools/
- **Source Repository:** https://github.com/eyurtsev/FlowCytometryTools
- **Comments or questions:** https://github.com/eyurtsev/FlowCytometryTools/issues

Dependencies
===================

For more information about how to obtain these, please see the `installation
`_ page.

FlowCytometryTools may work with older versions of some of these dependencies, but if
you run into issues, please update the dependencies.

**Required Dependencies**

#. `python `_ python 3.7 or higher
#. `pandas `__ (Recommended version: 0.19.0 or higher).
#. `matplotlib `__ (Recommended version: 1.5.3 or higher).
#. `scipy `__ 

**Optional Dependencies**

#. `wx-python `__ : Used for the FlowCytometryTools GUI.

Alternatives
===================

FlowCytometryTools is not the only open source software for performing data analysis on flow cytometry data.

So if you find that FlowCytometryTools does not suit your needs, take a look at the following software: 

* `cytoflow `_: API for python with a GUI
* `fcm `_ : API for python
* `Bioconductor `_ : API for the R programming language
* `FlowPy `_ : GUI
* `cyflogic `_ : GUI
* `Flowing Software `_ : GUI

Changes
=====================

v0.4.6, 2017-03-26

+ FIX: edge case for inferring x-range for spline interpolation when doing log transforms and with data the contains values in the interval. 
+ FIX: fix linear transform (kwargs weren't being passed correctly).
+ FIX: interval gate was raising exceptions for certain numpy versions (fix by alonyan)

v0.4.5, 2015-10-31

+ Sample fcs files now included with installation
+ Mostly maintenance (tests, configuration files, etc.)

v0.4.4, 2015-09-06

** Repository moved to github **

Enhancements:

+ added an experimental web-based backend for drawing gates. Use FCMeasurement.view_inteactively(backend='webagg').
+ col first enumerator for forming an ordered fcs file collection (Yoav Ram)

Bug fixes:

+ FCPlate.from_dir ID_kwargs match against full path, not just filename (Nick Bolten)
+ fcs parser can read larger fcs files and handles blank headers (Ben Roth)

v0.4.3, 2014-12-05

+ ENHC: Automatically determine bin location when plotting plates. 
+ Fix for Accuri V6 FCS (Ben Roth)
+ Fix for xlim/ylim when plotting 2d histograms

v0.4.2, 2014-10-08

+ FCS parser can handle more formats
+ Updated documentation

v0.4.1, 2014-09-13

+ Bug fixes for GUI
+ Now works with matplotlib 1.4.0
+ Added documentation and examples to gallery

v0.4.0, 2014-06-05

+ Updates in documentation
+ Added experimental view() function
+ Renamed old view() function into -> view_interactively()
+ Added queueing to help when dealing with large quantities of data.
+ Histogram plots should work with pandas (0.14.0) & matplotlib (1.3.1).

v0.3.6, 2014-02-11

+ Mostly updates in documentation

v0.3.5, 2014-01-19

+ Boost in speed for transformations on collections of measurements (like 96-well plates).
+ Much of the documentation has been updated and improved.
+ Improved GUI.

v0.3.0, 2013-10-27 Initial Release

LICENSE
===================

The MIT License (MIT)

Copyright (c) 2013-2022 Eugene Yurtsev and Jonathan Friedman

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Owner

  • Name: Eugene Yurtsev
  • Login: eyurtsev
  • Kind: user
  • Location: Boston
  • Company: @langchain-ai

SWE | ML | Chief Data Kitten

GitHub Events

Total
  • Issues event: 1
  • Watch event: 7
  • Fork event: 1
Last Year
  • Issues event: 1
  • Watch event: 7
  • Fork event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 689
  • Total Committers: 13
  • Avg Commits per committer: 53.0
  • Development Distribution Score (DDS): 0.353
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Eugene Yurtsev e****v@g****m 446
yonatanf y****f@m****u 113
Eugene Yurtsev e****v@m****u 113
epgui g****p@g****m 6
moto m****o@m****l 2
Yoav Ram y****b@g****m 2
rpgoldman r****n@g****g 1
Paul Nobrega p****a@p****g 1
Jared Lumpe m****e@g****m 1
Douglas Watson d****n@b****m 1
Aaron Meyer 2****y 1
yonatanf y****f@u****u 1
yonatanf y****f@u****) 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 24
  • Total pull requests: 22
  • Average time to close issues: about 1 year
  • Average time to close pull requests: 9 days
  • Total issue authors: 21
  • Total pull request authors: 10
  • Average comments per issue: 2.21
  • Average comments per pull request: 1.09
  • Merged pull requests: 20
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • crmackay (2)
  • yoavram (2)
  • monchin (2)
  • b-robison (1)
  • rpgoldman (1)
  • alonyan (1)
  • epgui (1)
  • sinnamone (1)
  • clareabreu (1)
  • ihab-boulas (1)
  • eyurtsev (1)
  • dmoccia (1)
  • JLautin (1)
  • kynnjo (1)
  • ghost (1)
Pull Request Authors
  • eyurtsev (11)
  • yoavram (2)
  • aarmey (2)
  • douglas-watson (1)
  • NobregaIPI (1)
  • epgui (1)
  • rpgoldman (1)
  • jlumpe (1)
  • borcuttjahns (1)
  • mthrok (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 1,543 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 6
    (may contain duplicates)
  • Total versions: 11
  • Total maintainers: 2
pypi.org: flowcytometrytools

A python package for performing flow cytometry analysis

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 5
  • Downloads: 1,538 Last month
Rankings
Forks count: 6.1%
Dependent repos count: 6.6%
Stargazers count: 7.1%
Average: 7.7%
Downloads: 8.6%
Dependent packages count: 10.0%
Maintainers (1)
Last synced: 11 months ago
pypi.org: numpy-reduced-flowcytometrytools

A python package for performing flow cytometry analysis

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 5 Last month
Rankings
Forks count: 6.2%
Stargazers count: 7.1%
Dependent packages count: 10.0%
Average: 20.2%
Dependent repos count: 21.7%
Downloads: 55.8%
Maintainers (1)
Last synced: 11 months ago

Dependencies

requirements.test.txt pypi
  • coveralls * test
  • pytest-cov * test
requirements.txt pypi
  • decorator *
  • fcsparser >=0.1.2
  • matplotlib >=1.3.1
  • numpy *
  • pandas >=0.12.0
  • scipy *
  • setuptools *
setup.py pypi
  • decorator *
  • fcsparser >=0.1.1
  • matplotlib >=1.5.3
  • numpy *
  • pandas >=0.19.0
  • scipy *