{
  "_id": "6a2014ceb401979e73449daa",
  "Package": "hwep",
  "Title": "Hardy-Weinberg Equilibrium in Polyploids",
  "Version": "2.0.3",
  "Authors@R": "c(person(given = \"David\",\nfamily = \"Gerard\",\nrole = c(\"aut\", \"cre\"),\nemail = \"gerard.1787@gmail.com\",\ncomment = c(ORCID = \"0000-0001-9450-5023\")),\nperson(given = \"NSF DBI 2132247\",\nrole = \"fnd\",\ncomment = \"https://www.nsf.gov/awardsearch/showAward?AWD_ID=2132247\")\n)",
  "Description": "Inference concerning equilibrium and random mating in\nautopolyploids. Methods are available to test for equilibrium\nand random mating at any even ploidy level (>2) in the presence\nof double reduction at biallelic loci. For autopolyploid\npopulations in equilibrium, methods are available to estimate\nthe degree of double reduction. We also provide functions to\ncalculate genotype frequencies at equilibrium, or after one or\nseveral rounds of random mating, given rates of double\nreduction. The main function is hwefit(). This material is\nbased upon work supported by the National Science Foundation\nunder Grant No. 2132247. The opinions, findings, and\nconclusions or recommendations expressed are those of the\nauthor and do not necessarily reflect the views of the National\nScience Foundation. For details of these methods, see Gerard\n(2023a) <doi:10.1111/biom.13722> and Gerard (2023b)\n<doi:10.1111/1755-0998.13856>.",
  "License": "GPL (>= 3)",
  "BugReports": "https://github.com/dcgerard/hwep/issues",
  "URL": "https://dcgerard.github.io/hwep/",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://dcgerard.r-universe.dev",
  "Date/Publication": "2025-07-23 15:01:01 UTC",
  "RemoteUrl": "https://github.com/dcgerard/hwep",
  "RemoteRef": "HEAD",
  "RemoteSha": "5e77ec3264b122b974ec57052039ed76a5cf9683",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-03 11:39:18 UTC",
    "User": "root"
  },
  "Author": "David Gerard [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9450-5023>),\nNSF DBI 2132247 [fnd]\n(https://www.nsf.gov/awardsearch/showAward?AWD_ID=2132247)",
  "Maintainer": "David Gerard <gerard.1787@gmail.com>",
  "MD5sum": "7f4b1d07404c6a23776fd7fcc5d0c1c7",
  "_user": "dcgerard",
  "_type": "src",
  "_file": "hwep_2.0.3.tar.gz",
  "_fileid": "1235719deb947fd3dba3d470bfd427949fc7f40369a4c99ebfe0b8cce5270449",
  "_filesize": 512255,
  "_sha256": "1235719deb947fd3dba3d470bfd427949fc7f40369a4c99ebfe0b8cce5270449",
  "_created": "2026-06-03T11:39:18.000Z",
  "_published": "2026-06-03T11:49:34.550Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79285500287,
      "time": 312,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7383651429"
    },
    {
      "job": 79285500210,
      "time": 322,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7383653552"
    },
    {
      "job": 79285500283,
      "time": 309,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383650083"
    },
    {
      "job": 79285500253,
      "time": 330,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383656432"
    },
    {
      "job": 79285500269,
      "time": 272,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7383629917"
    },
    {
      "job": 79285500263,
      "time": 486,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7383705838"
    },
    {
      "job": 79285500246,
      "time": 399,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383666856"
    },
    {
      "job": 79285500457,
      "time": 478,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383703031"
    },
    {
      "job": 79284367249,
      "time": 402,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383541168"
    },
    {
      "job": 79285500164,
      "time": 168,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79285500223,
      "time": 369,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7383669921"
    },
    {
      "job": 79285500235,
      "time": 374,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7383671983"
    },
    {
      "job": 79285500202,
      "time": 443,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383695956"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dcgerard/hwep",
  "_commit": {
    "id": "5e77ec3264b122b974ec57052039ed76a5cf9683",
    "author": "dcgerard <gerard.1787@gmail.com>",
    "committer": "dcgerard <gerard.1787@gmail.com>",
    "message": "no parallelization to pass mac github action\n",
    "time": 1753282861
  },
  "_maintainer": {
    "name": "David Gerard",
    "email": "gerard.1787@gmail.com",
    "login": "dcgerard",
    "description": "Statistician interested in multivariate analysis, hierarchical/empirical Bayesian modeling, and biological applications.",
    "uuid": 14183481,
    "orcid": "0000-0001-9450-5023"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.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": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.18.0",
      "role": "LinkingTo"
    },
    {
      "package": "bridgesampling",
      "role": "Imports"
    },
    {
      "package": "doFuture",
      "role": "Imports"
    },
    {
      "package": "doRNG",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.2.0",
      "role": "Imports"
    },
    {
      "package": "tensr",
      "role": "Imports"
    },
    {
      "package": "updog",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "dcgerard",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-30",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "dcgerard",
      "count": 206,
      "uuid": 14183481
    },
    {
      "user": "andrjohns",
      "count": 1,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 14183481,
    "type": "user",
    "name": "David Gerard",
    "description": "Statistician interested in multivariate analysis, hierarchical/empirical Bayesian modeling, and biological applications."
  },
  "_downloads": {
    "count": 220,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hwep"
  },
  "_devurl": "https://github.com/dcgerard/hwep",
  "_pkgdown": "https://dcgerard.github.io/hwep/",
  "_searchresults": 34,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hwep.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dcgerard/hwep",
  "_realowner": "dcgerard",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2021-09-28"
    },
    {
      "version": "0.0.2",
      "date": "2022-05-02"
    },
    {
      "version": "2.0.0",
      "date": "2022-08-16"
    },
    {
      "version": "2.0.1",
      "date": "2023-03-15"
    },
    {
      "version": "2.0.2",
      "date": "2023-05-16"
    },
    {
      "version": "2.0.3",
      "date": "2025-07-23"
    }
  ],
  "_exports": [
    "all_multinom",
    "ddirmult",
    "dgamete",
    "drbounds",
    "f1dr",
    "freqnext",
    "gibbs_gl",
    "gibbs_gl_alt",
    "gibbs_known",
    "gsegmat",
    "gsegmat_symb",
    "hweboot",
    "hwefit",
    "hwefreq",
    "hwelike",
    "hwenodr",
    "hweustat",
    "menbayesgl",
    "p_from_alpha",
    "qqpvalue",
    "rmbayes",
    "rmbayesgl",
    "rmlike",
    "simgl",
    "ts_bands",
    "zsegarray",
    "zygdist"
  ],
  "_help": [
    {
      "page": "all_multinom",
      "title": "Get every possible non-negative tuple with of a given sum.",
      "topics": [
        "all_multinom"
      ]
    },
    {
      "page": "ddirmult",
      "title": "PMF of Dirichlet-multinomial distribution",
      "topics": [
        "ddirmult"
      ]
    },
    {
      "page": "dgamete",
      "title": "Gamete dosage probability",
      "topics": [
        "dgamete"
      ]
    },
    {
      "page": "drbounds",
      "title": "Upper bounds on rates of double reduction",
      "topics": [
        "drbounds"
      ]
    },
    {
      "page": "f1dr",
      "title": "Estimate Double Reduction in F1 Populations",
      "topics": [
        "f1dr"
      ]
    },
    {
      "page": "freqnext",
      "title": "Update genotype frequencies after one generation",
      "topics": [
        "freqnext"
      ]
    },
    {
      "page": "gibbs_gl",
      "title": "Gibbs sampler under random mating using genotype log-likelihoods.",
      "topics": [
        "gibbs_gl"
      ]
    },
    {
      "page": "gibbs_gl_alt",
      "title": "Gibbs sampler under the alternative of non-random mating using genotype log-likelihoods.",
      "topics": [
        "gibbs_gl_alt"
      ]
    },
    {
      "page": "gibbs_known",
      "title": "Gibbs sampler under random mating with known genotypes.",
      "topics": [
        "gibbs_known"
      ]
    },
    {
      "page": "gsegmat",
      "title": "Segregation probabilities of gametes",
      "topics": [
        "gsegmat"
      ]
    },
    {
      "page": "gsegmat_symb",
      "title": "Symbolic representation of the segregation probability matrix",
      "topics": [
        "gsegmat_symb"
      ]
    },
    {
      "page": "hweboot",
      "title": "Bootstrap procedure to test for equilibrium",
      "topics": [
        "hweboot"
      ]
    },
    {
      "page": "hwefit",
      "title": "Equilibrium and random mating estimation and testing for many loci.",
      "topics": [
        "hwefit"
      ]
    },
    {
      "page": "hwefreq",
      "title": "Generate HWE genotype frequencies",
      "topics": [
        "hwefreq"
      ]
    },
    {
      "page": "hwelike",
      "title": "Maximum likelihood approach for equilibrium testing and double reduction estimation.",
      "topics": [
        "hwelike"
      ]
    },
    {
      "page": "hwenodr",
      "title": "Test for HWE in autopolyploids under the assumption of no double reduction",
      "topics": [
        "hwenodr"
      ]
    },
    {
      "page": "hweustat",
      "title": "U-process minimizer approach to equilibrium testing and double reduction estimation",
      "topics": [
        "hweustat"
      ]
    },
    {
      "page": "menbayesgl",
      "title": "Bayes test for F1/S1 genotype frequencies using genotype likelihoods",
      "topics": [
        "menbayesgl"
      ]
    },
    {
      "page": "p_from_alpha",
      "title": "Obtain gamete frequencies at equilibrium given rates of double reduction.",
      "topics": [
        "p_from_alpha"
      ]
    },
    {
      "page": "qqpvalue",
      "title": "QQ-plot for p-values",
      "topics": [
        "qqpvalue"
      ]
    },
    {
      "page": "rmbayes",
      "title": "Bayes test for random mating with known genotypes",
      "topics": [
        "rmbayes"
      ]
    },
    {
      "page": "rmbayesgl",
      "title": "Bayes test for random mating using genotype log-likelihoods",
      "topics": [
        "rmbayesgl"
      ]
    },
    {
      "page": "rmlike",
      "title": "Likelihood inference for random mating",
      "topics": [
        "rmlike"
      ]
    },
    {
      "page": "simgl",
      "title": "Simulator for genotype likelihoods.",
      "topics": [
        "simgl"
      ]
    },
    {
      "page": "ts_bands",
      "title": "Get simultaneous confidence bands for a uniform QQ-plot",
      "topics": [
        "ts_bands"
      ]
    },
    {
      "page": "zsegarray",
      "title": "Zygote segregation distributions.",
      "topics": [
        "zsegarray"
      ]
    },
    {
      "page": "zygdist",
      "title": "Zygote dosage probabilities.",
      "topics": [
        "zygdist"
      ]
    }
  ],
  "_pkglogo": "https://github.com/dcgerard/hwep/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/dcgerard/hwep/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "assertthat",
    "backports",
    "BH",
    "bridgesampling",
    "Brobdingnag",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "desc",
    "digest",
    "distributional",
    "doFuture",
    "doRNG",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "loo",
    "magrittr",
    "Matrix",
    "matrixStats",
    "mvtnorm",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "pracma",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "reshape2",
    "rlang",
    "rngtools",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tensr",
    "tibble",
    "updog",
    "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": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to the hwep package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The double reduction parameter.",
        "Segregation probabilities",
        "Equilibrium genotype frequencies",
        "Testing for equilibrium and random mating",
        "References"
      ],
      "created": "2021-03-10 17:53:30",
      "modified": "2025-07-23 15:01:01",
      "commits": 11
    }
  ],
  "_score": 5.309630167425899,
  "_indexed": true,
  "_nocasepkg": "hwep",
  "_universes": [
    "dcgerard"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.3",
      "date": "2026-06-03T11:43:38.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "c9d7c77fa62c1ee0af10a52206a520996a8a839940216c5d7524781f25e65306",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.3",
      "date": "2026-06-03T11:43:33.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "01842c1b827165c3129152f067203c19b8ade0925456823ee9a348464d935d89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.3",
      "date": "2026-06-03T11:43:38.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "7d25b3fe734a4933a380b467c1146bd7885b00e8f6c467523e4ff8a5bc32bb5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.3",
      "date": "2026-06-03T11:43:37.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "676005ac7111ded67b132fc2ee14be4d765cb3c228644feb6a9b5b53d77aff0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.3",
      "date": "2026-06-03T11:43:17.000Z",
      "arch": "aarch64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "f3916142798f9f012caa977f27127595540761759aa5e6a020b9544bf8cd573a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.3",
      "date": "2026-06-03T11:44:47.000Z",
      "arch": "x86_64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "d16f888d33857376bee26a4b08657c04f733b0433f0afaf576355a492eae6589",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.3",
      "date": "2026-06-03T11:43:40.000Z",
      "arch": "aarch64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "b4cd2abf081250e6e8e4fb31107960fbd398a978aa3dcc2f37e20040f2517d71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.3",
      "date": "2026-06-03T11:44:29.000Z",
      "arch": "x86_64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "73269c5ac02045d91bb7c61c4a2095144553006fb81102dc96ef3794e29be592",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-06-03T11:42:42.000Z",
      "arch": "x86_64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "e0485eeb6fe5fb71bef94ddadabeab6e23ed17dfb6002026c7ba154539011a92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-06-03T11:42:45.000Z",
      "arch": "x86_64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "ff8ffca78703feb53078cbefc4de68e0dc67f7759dde52c38cf9e49dcdec521e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-06-03T11:43:21.000Z",
      "arch": "x86_64",
      "commit": "5e77ec3264b122b974ec57052039ed76a5cf9683",
      "fileid": "89d932f44c073269ef9499f42a47bffbbbdd3db903a3f9fb2f2144318d6ae3f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/26882037110"
    }
  ]
}