scModels: Fitting Discrete Distribution Models to Count Data

Provides functions for fitting discrete distribution models to count data. Included are the Poisson, the negative binomial, the Poisson-inverse gaussian and, most importantly, a new implementation of the Poisson-beta distribution (density, distribution and quantile functions, and random number generator) together with a needed new implementation of Kummer's function (also: confluent hypergeometric function of the first kind). Three different implementations of the Gillespie algorithm allow data simulation based on the basic, switching or bursting mRNA generating processes. Moreover, likelihood functions for four variants of each of the three aforementioned distributions are also available. The variants include one population and two population mixtures, both with and without zero-inflation. The package depends on the 'MPFR' libraries (<>) which need to be installed separately (see description at <>). This package is supplement to the paper "A mechanistic model for the negative binomial distribution of single-cell mRNA counts" by Lisa Amrhein, Kumar Harsha and Christiane Fuchs (2019) <doi:10.1101/657619> available on bioRxiv.

Version: 1.0.2
Depends: R (≥ 3.1.0)
Imports: Rcpp, gamlss.dist
LinkingTo: Rcpp
Suggests: knitr, rmarkdown, testthat
Published: 2021-02-26
Author: Lisa Amrhein [aut, cre], Kumar Harsha [aut], Christiane Fuchs [aut], Pavel Holoborodko [ctb] (Author and copyright holder of 'mpreal.h')
Maintainer: Lisa Amrhein <amrheinlisa at>
License: GPL-3
NeedsCompilation: yes
SystemRequirements: gmp (>= 4.2.3), mpfr (>= 3.0.0)
Materials: NEWS
In views: Distributions
CRAN checks: scModels results


Reference manual: scModels.pdf
Package source: scModels_1.0.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: scModels_1.0.2.tgz, r-oldrel: scModels_1.0.1.tgz
Old sources: scModels archive


Please use the canonical form to link to this page.