Skip to main content

Crosstalk correction

Python 3 implementation of Donato et al.’s 2013 maximum impact estimation algorithm for correcting crosstalk effects in pathway analysis.

This code has been tested on Python 3.5.

Background

Crosstalk: Donato et al. (2013) use the term crosstalk to refer to the effect that pathways exercise on each other (in pathway analysis methods such as enrichment analysis, functional class scoring, and topology-based methods) due to the presence of overlapping genes.

Maximum impact estimation: They developed a correction method called maximum impact estimation that takes into account overlaps between pathways. The approach infers an underlying pathway impact matrix where each gene only contributes to one pathway using an expectation maximization technique.

PathCORE-T: The crosstalk correction method is used in the PathCORE-T software, a hypothesis generation tool that identifies co-occurring pathways from the results of an unsupervised analysis of transcriptomic data. Due to confusion around the term “crosstalk,” we refer to this procedure as “gene overlap correction” in the PathCORE-T software and paper.

Installation

To install the current PyPI version (recommended), run:

pip install crosstalk-correction

For the latest GitHub version, run:

pip install git+https://github.com/kathyxchen/crosstalk-correction.git#egg=crosstalk-correction

Examples

The crosstalk_correction method is used in PathCORE-T (see: feature_pathway_overrepresentation)

A visualization of what crosstalk correction does in the context of the PathCORE-T analysis can be viewed here.

For more details, please see the PathCORE-T pre-print.

Package contents

crosstalk_correction.py

crosstalk_correction.py contains the implementation of the crosstalk correction procedure. The method crosstalk_correction wraps the maximum impact estimation algorithm (method maximum_impact_estimation) and reduces the number of pre/post-processing steps required to run/interpret the results of maximum_impact_estimation.

We recommend that the method crosstalk_correction be used directly in most use cases.

For applications of maximum impact estimation that are not covered by this method, the following methods have also been made public and can be imported:

  • maximum_impact_estimation

  • initialize_membership_matrix

  • index_element_map

Acknowledgements

This work was supported by the Penn Institute for Bioinformatics

Metadata

Release files for crosstalk-correction 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crosstalk-correction 1.0.5
File Size Uploaded Provenance
crosstalk-correction-1.0.5.tar.gz 6.2 kB Without provenance Details

Release files / crosstalk-correction-1.0.5.tar.gz

Download URL crosstalk-correction-1.0.5.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
129a9719d7457b2a117a9c214db48617c1347a7a5bcc67af9a962d5d84db4ec2
BLAKE2b-256 checksum
How to use checksums
2ca219426793401eafb2cfcc19ed3a5131e6e7c23b244a75b40e8f1800f866ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for crosstalk-correction 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page