Fitting Discrete Distribution Models to Count Data
Overview
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 (https://www.mpfr.org/) which need to be installed separately (see description at https://github.com/fuchslab/scModels). 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.
- Drop C++11 specification
- Update maintainer
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-06-06
Documentation
- Help pages
- 6
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 52%
- Return-value docs
- 0%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing scModels adds 2 packages (2 with compiled code, 3.3 MB of source tarballs). Heaviest: Rcpp 1.8 MB, gamlss.dist 1.5 MB.
Code & Tests
People & History
Previously maintained by Lisa Amrhein (1.0.0 to 1.0.4).
Pick two releases to compare their code metrics.
- unarchivedReturned to CRAN2026-06-05
- 1.0.5Latest
- RR 4.6.0 released · 2026-04-24
- archivedRemoved from CRAN2026-03-09issues were not corrected despite reminders
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.42023-01-24 · diff ↗
- RR 4.2.0 released · 2022-04-22
- unarchivedReturned to CRAN2022-03-29
- 1.0.32022-03-29 · diff ↗
- archivedRemoved from CRAN2022-03-17check problems were not corrected in time Does not install with current (trunk) mpfr headers
- RR 4.1.0 released · 2021-05-18
- 1.0.22021-02-26 · diff ↗ ·
added 11 exports
gmRNA_IGbasic_burst, gmRNA_basic_burst, nlogL_del, nlogL_del2, nlogL_pig, nlogL_pig2, nlogL_zidel, nlogL_zidel2, nlogL_zipig, nlogL_zipig2, rInvGaus - RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2019-09-03
Package metadata
- First published
- 2019-06-13
- Total releases
- 6 / 7 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.1.0
- Download size
- 40 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("scModels")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.