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.5.tar.gz (30.0 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.5-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for copairs-0.4.5.tar.gz
Algorithm Hash digest
SHA256 7e41c3a96a1240cab4f57b55570a4146f7505bd3a9068bc83beb272f37a90b46
MD5 cdfb74b58166d4c8614a221d8af23f2a
BLAKE2b-256 412373e137c760a1a07b198bee1f20353a32e1f1d87cf5fcedcc90f184d67f54

See more details on using hashes here.

Provenance

The following attestation bundles were made for copairs-0.4.5.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.5-py3-none-any.whl.

File metadata

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

File hashes

Hashes for copairs-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6f5009c9ce2dcf172df961cc6ebdcfdafc282e41040434953515095452f3a8ee
MD5 e3f4d41630b0769efa6cf2a8b0c18fbc
BLAKE2b-256 c5af97874d045355273b3f006de258457a62d7f02bfb5c5359f23a5c841d3779

See more details on using hashes here.

Provenance

The following attestation bundles were made for copairs-0.4.5-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