convexgating-0.1.0
توضیحات
ConvexGating is a Python tool to infer optimal gating strategies for flow cytometry and cyTOF data.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | convexgating-0.1.0 |
| نام | convexgating |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Vincent Friedrich |
| ایمیل نویسنده | vf2101@online.de |
| آدرس صفحه اصلی | https://github.com/buettnerlab/convexgating |
| آدرس اینترنتی | https://pypi.org/project/convexgating/ |
| مجوز | MIT |
convexgating
===========================
|PyPI| |Python Version| |License| |Read the Docs| |Build| |Tests| |Codecov| |pre-commit| |Black|
.. |PyPI| image:: https://img.shields.io/pypi/v/convexgating.svg
:target: https://pypi.org/project/convexgating/
:alt: PyPI
.. |Python Version| image:: https://img.shields.io/pypi/pyversions/convexgating
:target: https://pypi.org/project/convexgating
:alt: Python Version
.. |License| image:: https://img.shields.io/github/license/buettnerlab/convexgating
:target: https://opensource.org/licenses/MIT
:alt: License
.. |Read the Docs| image:: https://img.shields.io/readthedocs/convexgating/latest.svg?label=Read%20the%20Docs
:target: https://convexgating.readthedocs.io/
:alt: Read the documentation at https://convexgating.readthedocs.io/
.. |Build| image:: https://github.com/buettnerlab/convexgating/workflows/Build%20convexgating%20Package/badge.svg
:target: https://github.com/buettnerlab/convexgating/actions?workflow=Package
:alt: Build Package Status
.. |Tests| image:: https://github.com/buettnerlab/convexgating/workflows/Run%20convexgating%20Tests/badge.svg
:target: https://github.com/buettnerlab/convexgating/actions?workflow=Tests
:alt: Run Tests Status
.. |Codecov| image:: https://codecov.io/gh/buettnerlab/convexgating/branch/master/graph/badge.svg
:target: https://codecov.io/gh/buettnerlab/convexgating
:alt: Codecov
.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
:target: https://github.com/pre-commit/pre-commit
:alt: pre-commit
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Black
Features
--------
Convex gating is a Python package to infer an optimal gating strategy from flow, cyTOF or Ab/CITE-seq data. Convex gating expects a labelled input (for instance, from clustering) and returns a gating panel to separate the selected group of events (e.g. a cluster) from all other events (see Fig. 1a).
For each cluster, it reports the purity (precision), yield (recall) and the harmonic mean of both metrics (F1 score) for each gate hierarchy and the entire gating strategy. It relies on the scanpy/anndata for the data format and data pre-processing and further on PyTorch for stochastic gradient descent. Therefore, resulting gates may slightly vary.
.. image:: https://github.com/buettnerlab/convexgating/blob/main/figures/fig1_v4.PNG
:width: 800
:alt: overview
The iterative procedure to find a suitable gate before applying the convex hull is illustrated in the following graphic.
.. image:: https://github.com/buettnerlab/convexgating/blob/main/figures/fig_update_step_v5.png
:width: 800
:alt: Update
Installation
------------
You can install *convexgating* via pip_ from PyPI_:
.. code:: console
$ pip install convexgating
Usage
-----
Please see the `Command-line Reference <Usage_>`_ for details.
Credits
-------
This package was created with cookietemple_ using Cookiecutter_ based on Hypermodern_Python_Cookiecutter_.
.. _cookietemple: https://cookietemple.com
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _PyPI: https://pypi.org/
.. _Hypermodern_Python_Cookiecutter: https://github.com/cjolowicz/cookiecutter-hypermodern-python
.. _pip: https://pip.pypa.io/
.. _Usage: https://convexgating.readthedocs.io/en/latest/usage.html
نیازمندی
| مقدار | نام |
|---|---|
| >=5.4.1 | PyYAML |
| >=0.7.2 | anndata |
| >=8.0.0 | click |
| >=3.5.0 | matplotlib |
| >=0.11.0 | numba |
| ==1.19.5 | numpy |
| >=1.3.0 | pandas |
| >=1.4.1 | pydot |
| >=0.9.11 | python-igraph |
| >=10.3.0 | rich |
| >=1.5 | scanpy |
| >=1.1.1 | scikit-learn |
| >=0.1.3 | scikit-misc |
| >=1.6.0 | scipy |
| >=0.10.0 | seaborn |
| >=0.1.0 | tk |
| ==1.7.1 | torch |
| >=4.62.0 | tqdm |
| >=0.5.1 | umap-learn |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.0 | Python |
نحوه نصب
نصب پکیج whl convexgating-0.1.0:
pip install convexgating-0.1.0.whl
نصب پکیج tar.gz convexgating-0.1.0:
pip install convexgating-0.1.0.tar.gz