Metadata-Version: 2.3
Name: corradjust
Version: 1.0.1
Summary: Adjusting for hidden confounders in correlations with CorrAdjust
License: GPL-3.0-only
Author: Stepan Nersisyan
Author-email: Stepan.Nersisyan@jefferson.edu
Requires-Python: >=3.10,<3.13
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Provides-Extra: docs
Requires-Dist: Sphinx (>=8.1.3,<9.0.0) ; extra == "docs"
Requires-Dist: adjustText (>=1.1.1,<2.0.0)
Requires-Dist: ipython (>=8.27.0,<9.0.0) ; extra == "docs"
Requires-Dist: kneed (>=0.8.5,<0.9.0)
Requires-Dist: matplotlib (>=3.8.3,<4.0.0)
Requires-Dist: nbsphinx (>=0.9.5,<0.10.0) ; extra == "docs"
Requires-Dist: numba (>=0.61.0,<0.62.0)
Requires-Dist: numpy (>=2.0.0,<3.0.0)
Requires-Dist: numpydoc (>=1.8.0,<2.0.0) ; extra == "docs"
Requires-Dist: pandas (>=2.2.1,<3.0.0)
Requires-Dist: parallel_sort (>=0.2.1,<0.3.0)
Requires-Dist: pillow (>=11.0.0,<12.0.0)
Requires-Dist: pyarrow (>=19.0.0,<20.0.0)
Requires-Dist: pydata-sphinx-theme (>=0.16.0,<0.17.0) ; extra == "docs"
Requires-Dist: pytest (>=8.3.3,<9.0.0)
Requires-Dist: scikit-learn (>=1.4.1.post1,<2.0.0)
Requires-Dist: scipy (>=1.12.0,<2.0.0)
Requires-Dist: seaborn (>=0.13.2,<0.14.0)
Requires-Dist: sphinx-sitemap (>=2.6.0,<3.0.0) ; extra == "docs"
Requires-Dist: tqdm (>=4.66.2,<5.0.0)
Project-URL: Documentation, https://tju-cmc-org.github.io/CorrAdjust
Project-URL: Homepage, https://tju-cmc-org.github.io/CorrAdjust
Project-URL: Repository, https://github.com/TJU-CMC-Org/CorrAdjust
Description-Content-Type: text/markdown

# CorrAdjust

![test package](https://github.com/TJU-CMC-Org/CorrAdjust/actions/workflows/python-package.yml/badge.svg)

This is official repository for CorrAdjust Python module.

Correcting for confounding variables is often overlooked when computing correlations between data features, even though it can profoundly affect results. We introduce CorrAdjust, a method for identifying and removing such hidden confounders. CorrAdjust selects a subset of principal components to eliminate from the data being processed by maximizing the enrichment of "reference pairs" among highly correlated feature pairs. Unlike traditional machine learning metrics, this novel enrichment-based metric is specifically designed to evaluate correlation data and provides valuable feature-level interpretation.

**Documentation:** [https://tju-cmc-org.github.io/CorrAdjust](https://tju-cmc-org.github.io/CorrAdjust).

Read more in our paper:
> Nersisyan S, Loher P, Rigoutsos I. CorrAdjust unveils biologically relevant transcriptomic correlations by efficiently eliminating hidden confounders. *Nucleic Acids Res.* 2025 May 31;53(10):gkaf444. doi: [10.1093/nar/gkaf444](https://doi.org/10.1093/nar/gkaf444).

