The DOTNB repository is a collection of code files that implement DOTNB across several programming languages. The DOTNB is the distribution for the Difference Of Two Negative Binomial distributions, i.e., Z=X-Y ~ DOTNB (λ_1,λ_2,p_1,p_2), where X ~ NB(λ_1,p_1 ) and Y ~ NB(λ_2,p_2 ). We aim for these code files to assist users in implementing DOTNB in their own models and methods.
As a state-of-the-art application of DOTNB, we have introduced DEGage, a computational method for detecting differentially expressed genes (DEGs) in scRNA-seq data. We believe DOTNB has extensive applicability not only in comparative analysis of NGS data but also in other overdispersed count data in STEM fields.. https://github.com/chenyongrowan/DEGage.git
If you use the code and/or the DOTNB distribution, please cite the following paper:
Petrany A., Chen R., Zhang S. and Chen, Y. "Theoretical Framework and Application for the Difference of Two Negative Binomial Distributions in Comparative Analysis of Sequencing Data". Genome Research, Under Review.
Run the following code in a terminal to retreive the DOTNB files, or download the file containing functions in your desired language.
$ git clone https://github.com/chenyongrowan/DOTNB.git
Requirements differ between language. See the README files under each language for more details.
In the folder of each language, the calculation of Mean, Variance, Probability Density Function (PDF), Cumulative Density Function (CDF) of DOTNB are provided.