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.4
Depends: R (≥ 3.1.0)
Imports: Rcpp, gamlss.dist
LinkingTo: Rcpp
Suggests: knitr, rmarkdown, testthat
Published: 2023-01-24
DOI: 10.32614/CRAN.package.scModels
Author: Lisa Amrhein ORCID iD [aut, cre], Kumar Harsha ORCID iD [aut], Christiane Fuchs ORCID iD [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.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): scModels_1.0.4.tgz, r-oldrel (arm64): scModels_1.0.4.tgz, r-release (x86_64): scModels_1.0.4.tgz, r-oldrel (x86_64): scModels_1.0.4.tgz
Old sources: scModels archive

Reverse dependencies:

Reverse imports: rvMF


Please use the canonical form to link to this page.