Skip to main content

Find pairs and compute metrics between them

Project description

copairs

copairs is a Python package for finding groups of profiles based on metadata and calculate mean Average Precision to assess intra- vs inter-group similarities.

Getting started

System requirements

copairs supports Python 3.8+ and should work with all modern operating systems (tested with MacOS 13.5, Ubuntu 18.04, Windows 10).

Dependencies

copairs depends on widely used Python packages:

  • numpy
  • pandas
  • tqdm
  • statsmodels
  • [optional] plotly

Installation

To install copairs and dependencies, run:

pip install copairs

To also install dependencies for running examples, run:

pip install copairs[demo]

Testing

To run tests, run:

pip install -e .[test]
pytest

Usage

We provide examples demonstrating how to use copairs for:

Citation

If you find this work useful for your research, please cite our pre-print:

Kalinin, A.A., Arevalo, J., Vulliard, L., Serrano, E., Tsang, H., Bornholdt, M., Rajwa, B., Carpenter, A.E., Way, G.P. and Singh, S., 2024. A versatile information retrieval framework for evaluating profile strength and similarity. bioRxiv, pp.2024-04. doi:10.1101/2024.04.01.587631

BibTeX:

@article{kalinin2024versatile,
  title={A versatile information retrieval framework for evaluating profile strength and similarity},
  author={Kalinin, Alexandr A and Arevalo, John and Vulliard, Loan and Serrano, Erik and Tsang, Hillary and Bornholdt, Michael and Rajwa, Bartek and Carpenter, Anne E and Way, Gregory P and Singh, Shantanu},
  journal={bioRxiv},
  pages={2024--04},
  year={2024},
  doi={10.1101/2024.04.01.587631}
}

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

copairs-0.4.4.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

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

copairs-0.4.4-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file copairs-0.4.4.tar.gz.

File metadata

  • Download URL: copairs-0.4.4.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for copairs-0.4.4.tar.gz
Algorithm Hash digest
SHA256 a068f23bf9052a267a20f15091172009502a42a5a52b7272a2135419891e926f
MD5 06770aa8c3a223be13173dad3ce3b3a8
BLAKE2b-256 882f888429e69e13f280d523edcb126e5d904f374a8663eb71abbf5dc37f2aeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for copairs-0.4.4.tar.gz:

Publisher: release.yml on cytomining/copairs

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

File details

Details for the file copairs-0.4.4-py3-none-any.whl.

File metadata

  • Download URL: copairs-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 26.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for copairs-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 afc725fd05a7393837d0c4586b99335807094bce3f5c0f7aaced385ca0f289e8
MD5 807fac3fa32a71928c3461d2d0ecf912
BLAKE2b-256 b9fa1ed2d20d0530a4605b2d3ddf19b96edf92c69707243351c9109048f05846

See more details on using hashes here.

Provenance

The following attestation bundles were made for copairs-0.4.4-py3-none-any.whl:

Publisher: release.yml on cytomining/copairs

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