Skip to main content

A toolbox for patient or sample representation from single-cell data

Project description

patpy – sample-level analysis framework for single-cell data

patpy is a toolbox for single-cell data analysis on sample level.

It provides:

  • 👨‍⚕️ Interface to sample representation methods (otherwise known as patient representation)
  • 📈 Analysis functions to get the most of your data
  • 📊 Metrics for sample representation evaluation

overview

⚠️ Warning: Development in Progress ⚠️

This repository is currently under active development Features and functionalities may change unexpectedly, and some aspects of the project are not yet complete.


Please proceed with caution and feel free to contribute, but be aware that:

  • The codebase is still evolving.
  • Documentation may be incomplete.
  • Some features may be unstable or subject to change.

If you have any questions or face bugs, feel free to open an issue.

Thank you for your patience and interest. Stay tuned for updates!


Tests Coverage PyPI Documentation

Getting started

Please refer to the documentation. In particular, the

Installation

You need to have Python 3.9 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.

There are several alternative options to install patpy:

  1. Install the latest release of patpy from PyPI:
pip install patpy
  1. Install the latest development version:
pip install git+https://github.com/lueckenlab/patpy.git@main

To install specific dependencies for some sample representation tools, use the following command:

pip install patpy[pilot]

All the available dependency groups: diffusionemd, mrvi, pilot, scpoli, wassersteintsne.

Some sample representation tools depend on packages not published on PyPI. To use them, install the extra and the upstream package from git:

# pascient
pip install patpy[pascient]
pip install git+https://github.com/genentech/pascient.git@main

# pulsar
pip install git+https://github.com/snap-stanford/PULSAR.git@main

Release notes

See the changelog.

Contact

For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.

Building docs

  1. Install sphinx

You may need add path to sphinx-doc to the $PATH

  1. Install other doc section dependencies from the pyproject.toml

  2. Build the documentation pages:

cd docs
make html
  1. Open docs/_build/html/index.html

Citation

Preprint is coming soon. So far, you can refer to this repository as following:

APA

Shitov, V. (2024). patpy – sample-level analysis framework for single-cell data (Version 0.10.0) [Computer software]. https://github.com/lueckenlab/patpy/

BibTeX

@misc{shitov_patpy_2024,
  author = {Shitov, Vladimir},
  title = {patpy – sample-level analysis framework for single-cell data},
  year = {2024},
  url = {https://github.com/lueckenlab/patpy/},
  note = {Version 0.15.2}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

patpy-0.15.2.tar.gz (14.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patpy-0.15.2-py3-none-any.whl (80.8 kB view details)

Uploaded Python 3

File details

Details for the file patpy-0.15.2.tar.gz.

File metadata

  • Download URL: patpy-0.15.2.tar.gz
  • Upload date:
  • Size: 14.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for patpy-0.15.2.tar.gz
Algorithm Hash digest
SHA256 cd8dad9aa4d27eabcf14af75e8cd73feaa04643336f99830404a5621c23f66c1
MD5 8fd19b2edfc3c0ad2580451ee2477b70
BLAKE2b-256 ac89c83a6e72140591bdaaec0dbbba0a9f1f942842bc8a01c94fd05ce6a48b31

See more details on using hashes here.

Provenance

The following attestation bundles were made for patpy-0.15.2.tar.gz:

Publisher: release.yaml on lueckenlab/patpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file patpy-0.15.2-py3-none-any.whl.

File metadata

  • Download URL: patpy-0.15.2-py3-none-any.whl
  • Upload date:
  • Size: 80.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for patpy-0.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 820c8f6d5067d003f054a55dbf80bd8195fed4506e19557f8d92c2d395a8edb2
MD5 ebd5c2239c56ceef663369f6eeb5b4f0
BLAKE2b-256 5c3a6ab1ae4b17020be4f186bcbae68cadfb5ffbeb224de7e39d460513bc8292

See more details on using hashes here.

Provenance

The following attestation bundles were made for patpy-0.15.2-py3-none-any.whl:

Publisher: release.yaml on lueckenlab/patpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page