combat


Namecombat JSON
Version 0.3.3 PyPI version JSON
download
home_pagehttps://github.com/epigenelabs/pyComBat
SummarypyComBat, a Python tool for batch effects correction in high-throughput molecular data using empirical Bayes methods
upload_time2022-11-29 15:42:06
maintainer
docs_urlNone
authorAbdelkader Behdenna
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyComBat

pyComBat [1] is a Python 3 implementation of ComBat [2], one of the most widely used tool for correcting technical biases, called batch effects, in microarray expression data.

More detailed documentation can be found at [this address](https://epigenelabs.github.io/pyComBat/).

## TO DO

## Minimum dependencies

We list here the versions of the packages that have been used for development/testing of pyComBat, as well as for writing the documentation.

### pyComBat dependencies

* python 3.6

* numpy 1.18.5

* mpmath 1.1.0

* pandas 0.24.2

* patsy 0.5.1

### Documentation

* sphinx 2.1.2

## Usage example

### Installation

You can install pyComBat directly with:

```python
pip install combat
```

You can upgrade pyComBat to its latest version with:

```python
pip install combat --upgrade
```

### Running pyComBat

The simplest way of using pyComBat is to first import it, and then simply use the pycombat function with default parameters:

```python
from combat.pycombat import pycombat
data_corrected = pycombat(data,batch)
```

* data: The expression matrix as a dataframe. It contains the information about the gene expression (rows) for each sample (columns).

* batch: List of batch indexes. The batch list describes the batch for each sample. The list of batches contains as many elements as the number of columns in the expression matrix.

## How to contribute

Please refer to [CONTRIBUTING.md](https://github.com/epigenelabs/pyComBat/blob/master/CONTRIBUTING.md) to learn more about the contribution guidelines.

## References

[1] Behdenna A, Haziza J, Azencot CA and Nordor A. (2020) pyComBat, a Python tool for batch effects correction in high-throughput molecular data using empirical Bayes methods. bioRxiv doi: 10.1101/2020.03.17.995431

[2] Johnson W E, et al. (2007) Adjusting batch effects in microarray expression data using empirical Bayes methods. Biostatistics, 8, 118–127

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/epigenelabs/pyComBat",
    "name": "combat",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Abdelkader Behdenna",
    "author_email": "abdelkader@epigenelabs.com",
    "download_url": "https://files.pythonhosted.org/packages/24/fc/02b94724719fe2ee6557133c5b3eb2b3a6c2b0a193dc09f808bfc4c8a246/combat-0.3.3.tar.gz",
    "platform": null,
    "description": "# pyComBat\n\npyComBat [1] is a Python 3 implementation of ComBat [2], one of the most widely used tool for correcting technical biases, called batch effects, in microarray expression data.\n\nMore detailed documentation can be found at [this address](https://epigenelabs.github.io/pyComBat/).\n\n## TO DO\n\n## Minimum dependencies\n\nWe list here the versions of the packages that have been used for development/testing of pyComBat, as well as for writing the documentation.\n\n### pyComBat dependencies\n\n* python 3.6\n\n* numpy 1.18.5\n\n* mpmath 1.1.0\n\n* pandas 0.24.2\n\n* patsy 0.5.1\n\n### Documentation\n\n* sphinx 2.1.2\n\n## Usage example\n\n### Installation\n\nYou can install pyComBat directly with:\n\n```python\npip install combat\n```\n\nYou can upgrade pyComBat to its latest version with:\n\n```python\npip install combat --upgrade\n```\n\n### Running pyComBat\n\nThe simplest way of using pyComBat is to first import it, and then simply use the pycombat function with default parameters:\n\n```python\nfrom combat.pycombat import pycombat\ndata_corrected = pycombat(data,batch)\n```\n\n* data: The expression matrix as a dataframe. It contains the information about the gene expression (rows) for each sample (columns).\n\n* batch: List of batch indexes. The batch list describes the batch for each sample. The list of batches contains as many elements as the number of columns in the expression matrix.\n\n## How to contribute\n\nPlease refer to [CONTRIBUTING.md](https://github.com/epigenelabs/pyComBat/blob/master/CONTRIBUTING.md) to learn more about the contribution guidelines.\n\n## References\n\n[1] Behdenna A, Haziza J, Azencot CA and Nordor A. (2020) pyComBat, a Python tool for batch effects correction in high-throughput molecular data using empirical Bayes methods. bioRxiv doi: 10.1101/2020.03.17.995431\n\n[2] Johnson W E, et al. (2007) Adjusting batch effects in microarray expression data using empirical Bayes methods. Biostatistics, 8, 118\u2013127\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "pyComBat, a Python tool for batch effects correction in high-throughput molecular data using empirical Bayes methods",
    "version": "0.3.3",
    "project_urls": {
        "Homepage": "https://github.com/epigenelabs/pyComBat"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24fc02b94724719fe2ee6557133c5b3eb2b3a6c2b0a193dc09f808bfc4c8a246",
                "md5": "82973c1bc9b2ee1ce98e603774df5034",
                "sha256": "25ed428f5c22d56545588c7ff2098982087bddd67b79a3220c3039d855b01271"
            },
            "downloads": -1,
            "filename": "combat-0.3.3.tar.gz",
            "has_sig": false,
            "md5_digest": "82973c1bc9b2ee1ce98e603774df5034",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 34718,
            "upload_time": "2022-11-29T15:42:06",
            "upload_time_iso_8601": "2022-11-29T15:42:06.545334Z",
            "url": "https://files.pythonhosted.org/packages/24/fc/02b94724719fe2ee6557133c5b3eb2b3a6c2b0a193dc09f808bfc4c8a246/combat-0.3.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-11-29 15:42:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "epigenelabs",
    "github_project": "pyComBat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "combat"
}
        
Elapsed time: 0.08553s