Skip to main content

Performing comprehensive overlap assessments

Project description

pylisto

pylisto is a tool for performing comprehensive overlap assessments on lists comprising sets of strings, such as lists of gene sets. It can assess:

  • Overlaps of pairs of sets of strings selected from the same universe.
  • Overlaps of pairs of sets of strings selected from different universes.
  • Overlaps of triplets of sets of strings selected from the same universe.

While pylisto has been developed with scRNA-seq data analysis in mind, the methodology is fully applicable for the same problem arising in any other setting. Thus, the implementation of pylisto uses general Python objects (Pandas data frames, character lists), rather than scRNA-seq-specific objects.

Installation

Install with:

pip install pylisto

Description and usage

This section will elaborate on the functionality and usage of pylisto. It discusses first the overlaps of individual elements, then the details of how the lists of elements must be provided as input.

Items

Each item taking part in an individual overlap assessed by pylisto is a set of strings. Each overlap assessment of sets of strings answers the question of whether the sets intersect each other to a statistically significant extent.

Lists

The run_listo function runs the entire pylisto pipeline. It requires two lists as input. Each list can store two types of elements:

  • Character vectors.
  • Data frames with a numeric column specified by the numCol parameter.

A third list, containing the same type of elements, can be optionally provided.

Extracting items from lists

Items to be used in the overlap assessments are extracted from the input lists as follows:

  • Character vectors: They are used as such.

  • Data frames: The rownames of the data frame are selected, and overlaps are calculated based on cutoffs determined by the distinct values in the column specified by numCol. The median of the resulting p-values is taken to be the p-value of the corresponding overlap.

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

pylisto-0.8.1.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

pylisto-0.8.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file pylisto-0.8.1.tar.gz.

File metadata

  • Download URL: pylisto-0.8.1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pylisto-0.8.1.tar.gz
Algorithm Hash digest
SHA256 e3a2e1bc147c9c3a19ca11df65e8a02cdc487376a5538ab65672c20e9bc3ee74
MD5 1b18fe66febe8563237d9f13abc2b43b
BLAKE2b-256 68b155f4daf5c1990bb885815fed2a0bd7647ea607c448d74ff5897e0897128d

See more details on using hashes here.

File details

Details for the file pylisto-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: pylisto-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pylisto-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2dad747d8b98c5e1bc5ddf9be13ca0aee3b91e7bf7af319d1c00c836a3ea2c4
MD5 f0a7db769cc0c246f79f878c01e550f3
BLAKE2b-256 60433923e22e2a92e3e7fe770fa3c11e298bd522c9f6cf4490d90465ae3c1b99

See more details on using hashes here.

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