Package: scModels
Title: Fitting Discrete Distribution Models to Count Data
Version: 1.0.5
DateNote: Previous CRAN version 1.0.4 on 2023-01-23
Maintainer: Kumar Harsha <kumarharsha.0292@gmail.com>
Authors@R: c(
  person("Lisa", "Amrhein",
        email="amrheinlisa@gmail.com",
        role="aut",
        comment=c(ORCID="0000-0002-0370-624X")),
  person("Kumar", "Harsha",
        email="kumarharsha.0292@gmail.com",
        role=c("aut", "cre"),
        comment=c(ORCID="0000-0002-3865-5286")),
  person("Christiane", "Fuchs",
        email="christiane.fuchs@helmholtz-muenchen.de",
        role="aut",
        comment=c(ORCID="0000-0003-3565-8315")),
  person("Pavel", "Holoborodko",
        email="pavel@holoborodko.com",
        role="ctb",
        comment="Author and copyright holder of 'mpreal.h'"))
License: 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.
Depends: R (>= 3.1.0)
RoxygenNote: 6.1.1
Suggests: knitr, rmarkdown, testthat
NeedsCompilation: yes
LinkingTo: Rcpp
Imports: Rcpp, gamlss.dist
Encoding: UTF-8
SystemRequirements: gmp (>= 4.2.3), mpfr (>= 3.0.0)
SystemRequirementsNote: 'MPFR' (MP Floating-Point Reliable Library,
        <http://mpfr.org/>) and 'GMP' (GNU Multiple Precision
        library,<http://gmplib.org/>)
Packaged: 2026-06-05 11:45:58 UTC; harsha
Author: Lisa Amrhein [aut] (ORCID: <https://orcid.org/0000-0002-0370-624X>),
  Kumar Harsha [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-3865-5286>),
  Christiane Fuchs [aut] (ORCID: <https://orcid.org/0000-0003-3565-8315>),
  Pavel Holoborodko [ctb] (Author and copyright holder of 'mpreal.h')
Repository: CRAN
Date/Publication: 2026-06-05 13:40:02 UTC
Built: R 4.4.3; x86_64-apple-darwin20; 2026-06-05 16:44:25 UTC; unix
Archs: scModels.so.dSYM
