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.
Minimum dependencies
We list here the versions of the paquages that have been used for development/testing of pyComBat, as well as for writing the documentation.
pyCombat dependencies
-
python 3.6
-
numpy 1.16.4
-
mpmath 1.1.0
-
pandas 0.24.2
Documentation
- sphinx 2.1.2
Usage example
Note that you need to download the utils.py script and put it in the same folder as the rest of your code. We are currently working on making on making pyComBat usable as a Python library.
The simplest way of using pyComBat is to first import it, and simply use the pycombat function with default parameters:
from utils import pycombat
pycombat(data,batch)
-
data: The expression matrix. It contains the information about the gene expression (rows) for each sample (columns). The first column (resp. row) is dedicated for the gene (resp. sample) names.
-
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 to learn more about the contribution guidelines.
References
[1]
[2] Johnson,W.E. et al. (2007) Adjusting batch effects in microarray expression data using empirical Bayes methods. Biostatistics, 8, 118–127
Metadata
Release files for pyComBat-test 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyComBat-test-0.1.2.tar.gz | 9.2 kB | Without provenance | Details for pyComBat-test-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyComBat_test-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pyComBat_test-0.1.2-py3-none-any.whl |
Total release size: 43.3 kB
Release files / pyComBat-test-0.1.2.tar.gz
| Download URL | pyComBat-test-0.1.2.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad606d877cdb7dbd59398e2300d63c148ecbd53011b953b42f5cc35ff8849db1
|
|
BLAKE2b-256 checksum How to use checksums |
f060dd92ea710a934bb990b553ae6c5fec9432f238a20e00a66b56b6ca02194e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / pyComBat_test-0.1.2-py3-none-any.whl
| Download URL | pyComBat_test-0.1.2-py3-none-any.whl |
|---|---|
| Size | 34.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be1b0254adb72d3cd1f0d0566a9870adfec66dcf885898169cec4482c049e387
|
|
BLAKE2b-256 checksum How to use checksums |
359073169c109092133a4e3b38ca7caddbb070713734fa381c906ecf67c6ea51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for pyComBat-test 0.1.2
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.