Skip to main content

NeuroCombat-sklearn

License: MIT Version PythonVersion

Implementation of Combat harmonization method in scikit-learn compatible format.

The Combat harmonization/normalization method uses an parametric empirical Bayes framework to robustly adjust data for site/batch effects. The scikit-learn compatible format was used to facilitates the use of this harmonization method in machine learning projects.

This repository is developed by Walter Hugo Lopez Pinaya at King's College London and community contributors.

Installation

Requirements

User installation

If you already have a working installation of numpy and scipy, the easiest way to install neurocombat-sklearn is using pip :

pip install neurocombat-sklearn

Citation

If you find this code useful for your research, please cite:

@article{fortin2018harmonization,
  title={Harmonization of cortical thickness measurements across scanners and sites},
  author={Fortin, Jean-Philippe and Cullen, Nicholas and Sheline, Yvette I and Taylor, Warren D and Aselcioglu, Irem and Cook, Philip A and Adams, Phil and Cooper, Crystal and Fava, Maurizio and McGrath, Patrick J and others},
  journal={Neuroimage},
  volume={167},
  pages={104--120},
  year={2018},
  publisher={Elsevier}
}

@article{johnson2007adjusting,
  title={Adjusting batch effects in microarray expression data using empirical Bayes methods},
  author={Johnson, W Evan and Li, Cheng and Rabinovic, Ariel},
  journal={Biostatistics},
  volume={8},
  number={1},
  pages={118--127},
  year={2007},
  publisher={Oxford University Press}
}

Disclaimer

Based on:

Release files for neurocombat-sklearn 0.1.3

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

Source distribution (sdist)

Source distribution for neurocombat-sklearn 0.1.3
File Size Uploaded
neurocombat-sklearn-0.1.3.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neurocombat-sklearn 0.1.3
File Interpreter ABI Platform
neurocombat_sklearn-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / neurocombat-sklearn-0.1.3.tar.gz

Download URL neurocombat-sklearn-0.1.3.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8787bf8e2b4a7313fe38c3ac34f5303497864e5f66482769affd14ae66cf9dc4
BLAKE2b-256 checksum
How to use checksums
d7b63e9170d01b6c34f4940cbf81d00aaa91f25a7631a75ba36db928f44f1ef5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.5.2

Release files / neurocombat_sklearn-0.1.3-py3-none-any.whl

Download URL neurocombat_sklearn-0.1.3-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9e2bd111dec926cf11078e2888e191e12ff6ae7b61b772aad07fbebad72d646
BLAKE2b-256 checksum
How to use checksums
52022057ba2d18c35ba36c11f9de4b383c465c99deeffdc2765aedeb9bcf6c9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.5.2

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1

1 release file

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