Skip to content

scModels

Fitting Discrete Distribution Models to Count Data

v1.0.5 · Jun 5, 2026 · GPL-3

Description

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.

Downloads

CRAN

453

Last 30 days

8677th

454

Last 90 days

499

Last year

Trend: +999%+ (30d vs prior 30d)

r2u CRAN

35

Last 30 days

105

Last 90 days

398

Last year

Trend: -14.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 6, 2026

Dependency Network

Dependencies Reverse dependencies Rcpp gamlss.dist scModels

Version History

6 tracked
new 1.0.5 Jun 5, 2026
update 1.0.4 ← 1.0.3 diff Jan 23, 2023
update 1.0.3 ← 1.0.2 diff Mar 28, 2022
update 1.0.2 ← 1.0.1 diff Feb 25, 2021
update 1.0.1 ← 1.0.0 diff Sep 1, 2019
new 1.0.0 Jun 12, 2019