|
a |
|
b/docs/source/pycombatseq.rst |
|
|
1 |
pycombat_seq: batch effect correction for RNASeq data |
|
|
2 |
===================================================== |
|
|
3 |
|
|
|
4 |
.. currentmodule:: inmoose.pycombat |
|
|
5 |
|
|
|
6 |
ComBat-Seq [Zhang2020]_ follows on the steps of ComBat, but targets specifically |
|
|
7 |
RNA-Seq data. Conceptually, ComBat-Seq is based on the same mathematical |
|
|
8 |
framework as ComBat, except that its replaces the normal distribution of |
|
|
9 |
microarray data by a negative binomial distribution to account for the |
|
|
10 |
specificities of RNA-Seq expression data. :func:`pycombat_seq` is a direct port |
|
|
11 |
of ComBat-Seq to Python. Since ComBat-Seq relies on the Bioconductor |
|
|
12 |
:code:`edgeR` package, the relevant parts of :code:`edgeR` have been ported |
|
|
13 |
along. Closely following the original implementation in R, :func:`pycombat_seq` |
|
|
14 |
has results very similar to those of ComBat-Seq in terms of batch effects |
|
|
15 |
correction. Additionally, :func:`pycombat_seq` is as fast, if not faster, than |
|
|
16 |
the original implementation in R. It also features additional capabilities, such |
|
|
17 |
as fixing a given batch as reference. |
|
|
18 |
|
|
|
19 |
Code documentation |
|
|
20 |
------------------ |
|
|
21 |
|
|
|
22 |
.. autofunction:: pycombat_seq |