{
  "_id": "6ae9ad462e87f76f20ad0346",
  "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(\nperson(\"Lisa\", \"Amrhein\",\nemail=\"amrheinlisa@gmail.com\",\nrole=\"aut\",\ncomment=c(ORCID=\"0000-0002-0370-624X\")),\nperson(\"Kumar\", \"Harsha\",\nemail=\"kumarharsha.0292@gmail.com\",\nrole=c(\"aut\", \"cre\"),\ncomment=c(ORCID=\"0000-0002-3865-5286\")),\nperson(\"Christiane\", \"Fuchs\",\nemail=\"christiane.fuchs@helmholtz-muenchen.de\",\nrole=\"aut\",\ncomment=c(ORCID=\"0000-0003-3565-8315\")),\nperson(\"Pavel\", \"Holoborodko\",\nemail=\"pavel@holoborodko.com\",\nrole=\"ctb\",\ncomment=\"Author and copyright holder of 'mpreal.h'\"))",
  "License": "GPL-3",
  "Description": "Provides functions for fitting discrete distribution\nmodels to count data. Included are the Poisson, the negative\nbinomial, the Poisson-inverse gaussian and, most importantly, a\nnew implementation of the Poisson-beta distribution (density,\ndistribution and quantile functions, and random number\ngenerator) together with a needed new implementation of\nKummer's function (also: confluent hypergeometric function of\nthe first kind). Three different implementations of the\nGillespie algorithm allow data simulation based on the basic,\nswitching or bursting mRNA generating processes. Moreover,\nlikelihood functions for four variants of each of the three\naforementioned distributions are also available. The variants\ninclude one population and two population mixtures, both with\nand without zero-inflation. The package depends on the 'MPFR'\nlibraries (<https://www.mpfr.org/>) which need to be installed\nseparately (see description at\n<https://github.com/fuchslab/scModels>). This package is\nsupplement to the paper \"A mechanistic model for the negative\nbinomial distribution of single-cell mRNA counts\" by Lisa\nAmrhein, Kumar Harsha and Christiane Fuchs (2019)\n<doi:10.1101/657619> available on bioRxiv.",
  "RoxygenNote": "6.1.1",
  "NeedsCompilation": "yes",
  "Encoding": "UTF-8",
  "SystemRequirements": "gmp (>= 4.2.3), mpfr (>= 3.0.0)",
  "SystemRequirementsNote": "'MPFR' (MP Floating-Point Reliable Library,\n<http://mpfr.org/>) and 'GMP' (GNU Multiple Precision\nlibrary,<http://gmplib.org/>)",
  "Packaged": {
    "Date": "2026-11-03 09:23:38 UTC",
    "User": "root"
  },
  "Author": "Lisa Amrhein [aut] (ORCID:\n<https://orcid.org/0000-0002-0370-624X>), Kumar Harsha [aut,\ncre] (ORCID: <https://orcid.org/0000-0002-3865-5286>),\nChristiane Fuchs [aut] (ORCID:\n<https://orcid.org/0000-0003-3565-8315>), Pavel Holoborodko\n[ctb] (Author and copyright holder of 'mpreal.h')",
  "Config/pak/sysreqs": "libgmp3-dev libmpfr-dev",
  "Repository": "https://hkumar6.r-universe.dev",
  "Date/Publication": "2026-06-05 13:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/scModels",
  "RemoteRef": "HEAD",
  "RemoteSha": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
  "_user": "hkumar6",
  "_type": "src",
  "_file": "scModels_1.0.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/20dab37970cf7052f7fd630771ae7a8bbf083985ff8194d13642c8e5d75813ed",
  "_filesize": 209852,
  "_sha256": "20dab37970cf7052f7fd630771ae7a8bbf083985ff8194d13642c8e5d75813ed",
  "_expires": "2027-02-11T09:45:41.000Z",
  "_created": "2026-11-03T09:23:38.000Z",
  "_published": "2026-11-03T09:45:42.690Z",
  "_upstream": "https://github.com/cran/scModels",
  "_status": "success",
  "_maintainer": {
    "name": "Kumar Harsha",
    "email": "kumarharsha.0292@gmail.com",
    "login": "hkumar6",
    "orcid": "0000-0002-3865-5286",
    "description": "",
    "uuid": 3909413
  },
  "_jobs": [
    {
      "job": 125831629204,
      "time": 175,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13218722459"
    },
    {
      "job": 125831629136,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13219187226"
    },
    {
      "job": 125831629421,
      "time": 150,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13218114410"
    },
    {
      "job": 125831629168,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13218084379"
    },
    {
      "job": 125831629295,
      "time": 249,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13220515567"
    },
    {
      "job": 125831629207,
      "time": 673,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": ""
    },
    {
      "job": 125831629228,
      "time": 249,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13219368873"
    },
    {
      "job": 125831629575,
      "time": 359,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13219631930"
    },
    {
      "job": 125829919040,
      "time": 215,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13218522562"
    },
    {
      "job": 125831629298,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13218223825"
    },
    {
      "job": 125831629272,
      "time": 380,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13219605586"
    },
    {
      "job": 125831629303,
      "time": 201,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13219091929"
    },
    {
      "job": 125831629332,
      "time": 145,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13218712393"
    },
    {
      "job": 125831629138,
      "time": 352,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13219765187"
    },
    {
      "job": 125831629302,
      "time": 154,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13219485449"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403",
  "_commit": {
    "id": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
    "author": "Kumar Harsha <kumarharsha.0292@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.5\n",
    "time": 1780666802
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "gamlss.dist",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.5",
      "date": "2026-06-05"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "lisaamrhein",
      "count": 5,
      "uuid": 28537674
    },
    {
      "user": "hkumar6",
      "count": 1,
      "uuid": 3909413
    }
  ],
  "_userbio": {
    "uuid": 3909413,
    "type": "user",
    "name": "Harsha",
    "followers": 17
  },
  "_downloads": {
    "count": 411,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/scModels"
  },
  "_searchresults": 3,
  "_topics": [
    "mpfr4",
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/scModels.html"
  ],
  "_realowner": "hkumar6",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2019-06-13"
    },
    {
      "version": "1.0.1",
      "date": "2019-09-03"
    },
    {
      "version": "1.0.2",
      "date": "2021-02-26"
    },
    {
      "version": "1.0.3",
      "date": "2022-03-29"
    },
    {
      "version": "1.0.4",
      "date": "2023-01-24"
    },
    {
      "version": "1.0.5",
      "date": "2026-06-05"
    }
  ],
  "_exports": [
    "chf_1F1",
    "dpb",
    "fit_params",
    "gmRNA_basic",
    "gmRNA_basic_burst",
    "gmRNA_burst",
    "gmRNA_IGbasic_burst",
    "gmRNA_switch",
    "nlogL_del",
    "nlogL_del2",
    "nlogL_nb",
    "nlogL_nb2",
    "nlogL_pb",
    "nlogL_pb2",
    "nlogL_pig",
    "nlogL_pig2",
    "nlogL_pois",
    "nlogL_pois2",
    "nlogL_zidel",
    "nlogL_zidel2",
    "nlogL_zinb",
    "nlogL_zinb2",
    "nlogL_zipb",
    "nlogL_zipb2",
    "nlogL_zipig",
    "nlogL_zipig2",
    "nlogL_zipois",
    "nlogL_zipois2",
    "ppb",
    "qpb",
    "rInvGaus",
    "rpb"
  ],
  "_help": [
    {
      "page": "chf_1F1",
      "title": "Kummer's (confluent hypergeometric) function in log-scale",
      "topics": [
        "chf_1F1"
      ]
    },
    {
      "page": "fit_params",
      "title": "Functions to estimate parameters of probability distributions by fitting the distributions using optim()",
      "topics": [
        "fit_params"
      ]
    },
    {
      "page": "gmRNA",
      "title": "Gillespie algorithm for mRNA generating processes",
      "topics": [
        "gmRNA",
        "gmRNA_basic",
        "gmRNA_basic_burst",
        "gmRNA_burst",
        "gmRNA_IGbasic_burst",
        "gmRNA_switch"
      ]
    },
    {
      "page": "Inverse-Gaussian",
      "title": "Inverse Gaussian Distribution",
      "topics": [
        "Inverse Gaussian",
        "rInvGaus"
      ]
    },
    {
      "page": "nlogL",
      "title": "Negative log Likelihood functions for Poisson, negative binomial, Delaporte, Poisson-inverse Gaussian and Poisson-beta distributions",
      "topics": [
        "nlogL",
        "nlogL_del",
        "nlogL_del2",
        "nlogL_nb",
        "nlogL_nb2",
        "nlogL_pb",
        "nlogL_pb2",
        "nlogL_pig",
        "nlogL_pig2",
        "nlogL_pois",
        "nlogL_pois2",
        "nlogL_zidel",
        "nlogL_zidel2",
        "nlogL_zinb",
        "nlogL_zinb2",
        "nlogL_zipb",
        "nlogL_zipb2",
        "nlogL_zipig",
        "nlogL_zipig2",
        "nlogL_zipois",
        "nlogL_zipois2"
      ]
    },
    {
      "page": "Poisson-beta",
      "title": "Poisson-beta Distribution",
      "topics": [
        "dpb",
        "Poisson-beta",
        "ppb",
        "qpb",
        "rpb"
      ]
    }
  ],
  "_rundeps": [
    "gamlss.dist",
    "MASS",
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libmpfr",
      "package": "libmpfr6",
      "headers": "libmpfr-dev",
      "source": "mpfr4",
      "version": "4.2.2-3",
      "name": "mpfr4",
      "homepage": "https://www.mpfr.org/",
      "description": "multiple precision floating-point computation"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "scmodels",
  "_universes": [
    "hkumar6"
  ],
  "_binaries": [
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-10-04T08:36:12.000Z",
      "arch": "x86_64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/d50945ae1c8ef50ac84ae2e0f5cc4c2fbfdd17f3ad419f61e4d67a33c32f533c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/37188906396"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-11-03T09:26:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/bfc92fe31f58edbe89b5709633362cece8e00dd95711247fa654693f2007c9b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-11-03T09:25:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/a48e30597761ff074c4ccac498acb3f4ef6bec028329d8452580fbc61eca17a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-11-03T09:25:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/9f44dad7d094ec0451c2f6628fe49259c41ac501e977c07c6ac8a4dbb15488de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-11-03T09:25:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/6d6eeb95a670b5d072d1ca24d83108fcaf03997c1a9be4157a88d36448e5aa02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-11-03T09:41:33.000Z",
      "arch": "aarch64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/f85c98cdf58e67b59ac007aea0ec334017eab2e4912d30d01b51a6fcf9afa65a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-11-03T09:40:58.000Z",
      "arch": "aarch64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/3c653b6779c2e9242a8bd31888e6e3ce2c6d44f546a40aaf94e563564dc95cfa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-11-03T09:37:29.000Z",
      "arch": "x86_64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/3c27983270ec3ad8debdf1c9303c227e360ab13946ce71a511a61a69407bf0ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-11-03T09:25:36.000Z",
      "arch": "emscripten",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/d37949f399b43a93955f4e5f0df8e77f4ff4bfb3e6b21431cf2b7a6f957f7625",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-11-03T09:28:47.000Z",
      "arch": "aarch64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/45b6830d52e340da677a7fcff39e7c87e136bef938dc31c835a537d5652d8d01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-11-03T09:25:15.000Z",
      "arch": "x86_64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/45b800cfd235e4810fa92a8451367b6b824f2a0b6357b25957a27207da56ff7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-11-03T09:25:16.000Z",
      "arch": "x86_64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/c0d1007390fea48611f6a9a82bdb532e3bb30273b5c130258a742bb7b55e5143",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-11-03T09:28:19.000Z",
      "arch": "aarch64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/30d2959b0e4b799cb7aad6be484d487f1cf6559d09f6cda04a5dd5b404559788",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-11-03T09:25:09.000Z",
      "arch": "x86_64",
      "commit": "465f3de2ee5a6dba5b9e9debf5b2545ddba9ffb7",
      "fileid": "https://r2.ropensci.org/94f7b532dc022ab393f774f726cb9494c1e16d9005131017b6d4c654975c0d00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkumar6/actions/runs/41610166403"
    }
  ]
}