{
  "_id": "6a1f37f5b401979e73428da4",
  "Type": "Package",
  "Package": "MADPop",
  "Title": "MHC Allele-Based Differencing Between Populations",
  "Version": "1.1.6",
  "Date": "2023-10-13",
  "Authors@R": "c(person(given = \"Martin\",\nfamily = \"Lysy\",\nrole = c(\"cre\", \"aut\"),\nemail = \"mlysy@uwaterloo.ca\"),\nperson(given = \"Peter W.J.\",\nfamily = \"Kim\",\nrole = \"aut\"),\nperson(given = \"Terin\",\nfamily = \"Robinson\",\nrole = \"ctb\"))",
  "Description": "Tools for the analysis of population differences using the\nMajor Histocompatibility Complex (MHC) genotypes of samples\nhaving a variable number of alleles (1-4) recorded for each\nindividual.  A hierarchical Dirichlet-Multinomial model on the\ngenotype counts is used to pool small samples from multiple\npopulations for pairwise tests of equality.  Bayesian inference\nis implemented via the 'rstan' package.  Bootstrapped and\nposterior p-values are provided for chi-squared and likelihood\nratio tests of equal genotype probabilities.",
  "URL": "https://github.com/mlysy/MADPop",
  "BugReports": "https://github.com/mlysy/MADPop/issues",
  "License": "GPL-3",
  "VignetteBuilder": "knitr",
  "SystemRequirements": "GNU make",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "NeedsCompilation": "yes",
  "Config/pak/sysreqs": "make",
  "Repository": "https://mlysy.r-universe.dev",
  "Date/Publication": "2024-02-26 17:23:21 UTC",
  "RemoteUrl": "https://github.com/mlysy/madpop",
  "RemoteRef": "HEAD",
  "RemoteSha": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
  "Packaged": {
    "Date": "2026-05-14 08:34:52 UTC",
    "User": "root"
  },
  "Author": "Martin Lysy [cre, aut],\nPeter W.J. Kim [aut],\nTerin Robinson [ctb]",
  "Maintainer": "Martin Lysy <mlysy@uwaterloo.ca>",
  "MD5sum": "de11162eb2298f0ecae571baeba5bb83",
  "_user": "mlysy",
  "_type": "src",
  "_file": "MADPop_1.1.6.tar.gz",
  "_fileid": "d8f704257c0b522439973113a541fdf71cced082149b16575090a40efd6c60e7",
  "_filesize": 289815,
  "_sha256": "d8f704257c0b522439973113a541fdf71cced082149b16575090a40efd6c60e7",
  "_created": "2026-05-14T08:34:52.000Z",
  "_published": "2026-06-02T20:07:17.357Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79161561170,
      "time": 269,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990510631"
    },
    {
      "job": 79161561074,
      "time": 278,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990512920"
    },
    {
      "job": 79161560867,
      "time": 269,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990510909"
    },
    {
      "job": 79161560684,
      "time": 240,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990502958"
    },
    {
      "job": 79161561368,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990477310"
    },
    {
      "job": 79161561073,
      "time": 493,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990569823"
    },
    {
      "job": 79161560976,
      "time": 203,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990492973"
    },
    {
      "job": 79161560632,
      "time": 309,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990521897"
    },
    {
      "job": 79161560670,
      "time": 378,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990438584"
    },
    {
      "job": 79161559821,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79161561039,
      "time": 284,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990514900"
    },
    {
      "job": 79161560839,
      "time": 303,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990520067"
    },
    {
      "job": 79161561082,
      "time": 281,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990514173"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mlysy/madpop",
  "_commit": {
    "id": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
    "author": "mlysy <mlysy@users.noreply.github.com>",
    "committer": "mlysy <mlysy@users.noreply.github.com>",
    "message": "removed custom Stan function dirichlet_multinomial since its now provided by Stan\n",
    "time": 1708968201
  },
  "_maintainer": {
    "name": "Martin Lysy",
    "email": "mlysy@uwaterloo.ca",
    "login": "mlysy",
    "uuid": 10173557
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "mlysy",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "mlysy",
      "count": 63,
      "uuid": 10173557
    },
    {
      "user": "andrjohns",
      "count": 4,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 10173557,
    "type": "user",
    "name": "mlysy",
    "description": "Martin Lysy"
  },
  "_downloads": {
    "count": 174,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MADPop"
  },
  "_devurl": "https://github.com/mlysy/madpop",
  "_searchresults": 8,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MADPop.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mlysy/madpop",
  "_realowner": "mlysy",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1",
      "date": "2017-01-18"
    },
    {
      "version": "1.1.1",
      "date": "2018-10-27"
    },
    {
      "version": "1.1.2",
      "date": "2018-11-08"
    },
    {
      "version": "1.1.4",
      "date": "2022-08-22"
    },
    {
      "version": "1.1.5",
      "date": "2023-04-04"
    },
    {
      "version": "1.1.6",
      "date": "2023-10-13"
    },
    {
      "version": "1.1.7",
      "date": "2024-02-27"
    }
  ],
  "_exports": [
    "chi2.stat",
    "hUM.post",
    "LRT.stat",
    "UM.eqtest",
    "UM.suff"
  ],
  "_datasets": [
    {
      "name": "fish215",
      "title": "Genotypes of lake trout from Ontario, Canada",
      "object": "fish215",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Lake",
        "A1",
        "A2",
        "A3",
        "A4"
      ],
      "rows": 215,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "MADPop-package",
      "title": "(M)HC (A)llele-Based (D)ifferencing between (Pop)ulations",
      "topics": [
        "MADPop-package",
        "MADPop"
      ]
    },
    {
      "page": "chi2.stat",
      "title": "Chi-squared test statistic for contingency tables",
      "topics": [
        "chi2.stat"
      ]
    },
    {
      "page": "fish215",
      "title": "Genotypes of lake trout from Ontario, Canada",
      "topics": [
        "fish215"
      ]
    },
    {
      "page": "hUM.post",
      "title": "Posterior sampling from a hierarchical Unconstrained-Multinomial model",
      "topics": [
        "hUM.post"
      ]
    },
    {
      "page": "LRT.stat",
      "title": "Likelihood ratio test statistic for contingency tables",
      "topics": [
        "LRT.stat"
      ]
    },
    {
      "page": "UM.eqtest",
      "title": "Equality tests for two multinomial samples",
      "topics": [
        "UM.eqtest"
      ]
    },
    {
      "page": "UM.suff",
      "title": "Sufficient statistics for the Unconstrained-Multinomial model",
      "topics": [
        "UM.suff"
      ]
    }
  ],
  "_readme": "https://github.com/mlysy/madpop/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "MADPop-quicktut.Rmd",
      "filename": "MADPop-quicktut.html",
      "title": "Bayesian Testing of Equal Genotype Proportions between Multiple Populations",
      "author": "Martin Lysy, Wookjung P. Kim, Terin Robinson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Pre-Processing",
        "Two-Population Comparisons",
        "Multinomial Model",
        "Hypothesis Testing",
        "Pairwise Comparisons between Multiple Populations",
        "Parameter Estimation",
        "Bayesian Hypothesis Testing",
        "MCMC Sampling from the Posterior Distribution",
        "Calculating the Posterior P-Value",
        "Future Work",
        "References"
      ],
      "created": "2016-12-18 15:52:27",
      "modified": "2022-08-19 17:54:24",
      "commits": 8
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "madpop",
  "_universes": [
    "mlysy"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-05-14T08:38:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "6f623cf266264c19c23ccf3e7e7f23d8885f2b9ea55969b2d2e740566c0cff10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-05-14T08:38:16.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "7a778acc8429dae4e569501677a343d7b6ea0ac993fd50e007298f5a63e8ab69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-05-14T08:38:07.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "61f36a66f40a11a02e2a879439274a83cdb1a36d328cacc8d1ee38cd761f60c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-05-14T08:37:51.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "cab0d60606ceb2c5c597a7a85de02bae62faba47d2d15ee0e8a623dad5d44167",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-05-14T08:37:01.000Z",
      "arch": "aarch64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "9b7b5ba063a783cbf05e427ab732764b39f71faf05061b65715e5fa33769e590",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-05-14T08:40:10.000Z",
      "arch": "x86_64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "b264182e4f06c65f7c0a80dc6d9b73c594a2c3654a2962b30d56f8be1cb187a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-05-14T08:37:22.000Z",
      "arch": "aarch64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "661d0a77a3a5764367649e8a87cfffc2635c6bc59e09509d4722afaf68c50e38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-05-14T08:38:04.000Z",
      "arch": "x86_64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "550adca1a5540620cfb21b1e6a4bde7989c1fab4d1acfb6d2050551cfc91ebda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.6",
      "date": "2026-05-14T08:37:20.000Z",
      "arch": "x86_64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "8daa4a83c150c8b000b5a2e06661f026e4c4d231d050502e5cd4dfd3d0dc77ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.6",
      "date": "2026-05-14T08:37:41.000Z",
      "arch": "x86_64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "6fcf7e3d86a78becb0b06554cf36eb48776bbfade456022e72e40021934c8358",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.6",
      "date": "2026-05-14T08:37:17.000Z",
      "arch": "x86_64",
      "commit": "d40d77b12fe2c1689d1d5850a8cbbee3b83af7cd",
      "fileid": "0a6407067f237e3f27906ac8bb1f25f2d53f994edfda6a5de8be0bc01a753786",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlysy/actions/runs/25850138106"
    }
  ]
}