{
  "_id": "6a2514484b233be19838ac69",
  "Package": "moire",
  "Title": "Multiplicity of Infection and Allele Frequency Recovery from\nNoisy Polyallelic Genetics Data",
  "Version": "3.5.0",
  "Authors@R": "c(\nperson(given = \"Maxwell\",\nfamily = \"Murphy\",\nrole = c(\"aut\", \"cre\"),\nemail = \"murphy2122@berkeley.edu\",\ncomment = c(ORCID = \"0000-0003-0332-4388\")),\nperson(given = \"Bryan\",\nfamily = \"Greenhouse\",\nrole = c(\"aut\", \"ths\"),\nemail = \"bryan.greenhouse@ucsf.edu\",\ncomment = c(ORCID = \"0000-0003-0287-9111\")))",
  "Description": "A Markov Chain Monte Carlo (MCMC) based approach to\nBayesian estimation of individual level multiplicity of\ninfection, within host relatedness, and population allele\nfrequencies from polyallelic genetic data.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyDataCompression": "bzip2",
  "SystemRequirements": "C++17, GNU make",
  "URL": "https://github.com/EPPIcenter/moire,\nhttps://eppicenter.github.io/moire/,\nhttps://eppicenter.ucsf.edu/resources",
  "BugReports": "https://github.com/EPPIcenter/moire/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://plasmogenepi.r-universe.dev",
  "Date/Publication": "2024-11-06 21:35:57 UTC",
  "RemoteUrl": "https://github.com/eppicenter/moire",
  "RemoteRef": "HEAD",
  "RemoteSha": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-07 06:41:42 UTC",
    "User": "root"
  },
  "Author": "Maxwell Murphy [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0332-4388>),\nBryan Greenhouse [aut, ths] (ORCID:\n<https://orcid.org/0000-0003-0287-9111>)",
  "Maintainer": "Maxwell Murphy <murphy2122@berkeley.edu>",
  "MD5sum": "934298b1f200146bd95a52bc154f8244",
  "_user": "plasmogenepi",
  "_type": "src",
  "_file": "moire_3.5.0.tar.gz",
  "_fileid": "19df761be9315b1b4784c86b2688d1ca4eb8045132f3c3e720075c75bf9eb63b",
  "_filesize": 4489054,
  "_sha256": "19df761be9315b1b4784c86b2688d1ca4eb8045132f3c3e720075c75bf9eb63b",
  "_created": "2026-06-07T06:41:42.000Z",
  "_published": "2026-06-07T06:48:40.851Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79938259846,
      "time": 186,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461576855"
    },
    {
      "job": 79938259835,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461575453"
    },
    {
      "job": 79938259843,
      "time": 196,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461578138"
    },
    {
      "job": 79938259840,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461577950"
    },
    {
      "job": 79938259848,
      "time": 126,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461569230"
    },
    {
      "job": 79938259832,
      "time": 348,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461595088"
    },
    {
      "job": 79938259842,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461569464"
    },
    {
      "job": 79938259853,
      "time": 261,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461585329"
    },
    {
      "job": 79937998827,
      "time": 276,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461554403"
    },
    {
      "job": 79938259810,
      "time": 149,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461571948"
    },
    {
      "job": 79938259817,
      "time": 173,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461574806"
    },
    {
      "job": 79938259838,
      "time": 193,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461577407"
    },
    {
      "job": 79938259823,
      "time": 182,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461576213"
    }
  ],
  "_buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/eppicenter/moire",
  "_commit": {
    "id": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
    "author": "Maxwell Murphy <murphy2122@berkeley.edu>",
    "committer": "Maxwell Murphy <murphy2122@berkeley.edu>",
    "message": "update article\n",
    "time": 1730928957
  },
  "_maintainer": {
    "name": "Maxwell Murphy",
    "email": "murphy2122@berkeley.edu",
    "login": "m-murphy",
    "orcid": "0000-0003-0332-4388",
    "twitter": "@MxMrphy",
    "description": "",
    "uuid": 5225200
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RcppProgress",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "parallelly",
      "role": "Suggests"
    }
  ],
  "_owner": "eppicenter",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "genomics",
    "malaria",
    "mcmc",
    "cpp",
    "openmp"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "m-murphy",
      "count": 149,
      "uuid": 5225200
    }
  ],
  "_userbio": {
    "uuid": 140542976,
    "type": "organization",
    "name": "PlasmoGenEpi",
    "description": "We are a network of scientists who have come together since 2018 to address challenges in malaria genomic epidemiology."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/moire"
  },
  "_devurl": "https://github.com/eppicenter/moire",
  "_pkgdown": "https://eppicenter.github.io/moire/",
  "_searchresults": 28,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/moire.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "calculate_he",
    "calculate_med_allele_freqs",
    "calculate_naive_allele_frequencies",
    "calculate_naive_coi",
    "calculate_naive_coi_offset",
    "load_delimited_data",
    "load_long_form_data",
    "plot_chain_swaps",
    "rdirichlet",
    "run_mcmc",
    "simulate_allele_frequencies",
    "simulate_data",
    "simulate_observed_allele",
    "simulate_observed_genotype",
    "simulate_sample_coi",
    "simulate_sample_genotype",
    "summarize_allele_freq_fn",
    "summarize_allele_freqs",
    "summarize_coi",
    "summarize_effective_coi",
    "summarize_epsilon_neg",
    "summarize_epsilon_pos",
    "summarize_he",
    "summarize_relatedness"
  ],
  "_datasets": [
    {
      "name": "mcmc_results",
      "title": "MCMC results from using the packaged simulated data and calling 'run_mcmc()'",
      "object": "mcmc_results",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "namibia_data",
      "title": "Genetic and epidemiological data from Namibia",
      "object": "namibia_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "sample_id",
        "HealthFacility",
        "HealthDistrict",
        "Region",
        "Country",
        "locus",
        "allele"
      ],
      "rows": 97214,
      "table": true,
      "tojson": true
    },
    {
      "name": "regional_allele_frequencies",
      "title": "Allele frequencies for different regions",
      "object": "regional_allele_frequencies",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "simulated_data",
      "title": "Simulated genotyping data",
      "object": "simulated_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculate_he",
      "title": "Calculate the expected heterozygosity from allele frequencies",
      "topics": [
        "calculate_he"
      ]
    },
    {
      "page": "calculate_med_allele_freqs",
      "title": "Calculate the geometric median of the posterior distribution of allele frequencies",
      "topics": [
        "calculate_med_allele_freqs"
      ]
    },
    {
      "page": "calculate_naive_allele_frequencies",
      "title": "Calculate naive allele frequencies",
      "topics": [
        "calculate_naive_allele_frequencies"
      ]
    },
    {
      "page": "calculate_naive_coi",
      "title": "Calculate naive COI",
      "topics": [
        "calculate_naive_coi"
      ]
    },
    {
      "page": "calculate_naive_coi_offset",
      "title": "Calculate naive COI offset",
      "topics": [
        "calculate_naive_coi_offset"
      ]
    },
    {
      "page": "load_delimited_data",
      "title": "Load delimited data",
      "topics": [
        "load_delimited_data"
      ]
    },
    {
      "page": "load_long_form_data",
      "title": "Load long form data",
      "topics": [
        "load_long_form_data"
      ]
    },
    {
      "page": "mcmc_results",
      "title": "MCMC results from using the packaged simulated data and calling 'run_mcmc()'",
      "topics": [
        "mcmc_results"
      ]
    },
    {
      "page": "namibia_data",
      "title": "Genetic and epidemiological data from Namibia",
      "topics": [
        "namibia_data"
      ]
    },
    {
      "page": "plot_chain_swaps",
      "title": "Plot chain swap acceptance rates",
      "topics": [
        "plot_chain_swaps"
      ]
    },
    {
      "page": "rdirichlet",
      "title": "Dirichlet distribution",
      "topics": [
        "rdirichlet"
      ]
    },
    {
      "page": "regional_allele_frequencies",
      "title": "Allele frequencies for different regions",
      "topics": [
        "regional_allele_frequencies"
      ]
    },
    {
      "page": "run_mcmc",
      "title": "Sample from the target distribution using MCMC",
      "topics": [
        "run_mcmc"
      ]
    },
    {
      "page": "simulate_allele_frequencies",
      "title": "Simulate allele frequencies",
      "topics": [
        "simulate_allele_frequencies"
      ]
    },
    {
      "page": "simulate_data",
      "title": "Simulate data generated according to the assumed model",
      "topics": [
        "simulate_data"
      ]
    },
    {
      "page": "simulate_observed_allele",
      "title": "Simulates the observation process",
      "topics": [
        "simulate_observed_allele"
      ]
    },
    {
      "page": "simulate_observed_genotype",
      "title": "Simulate observed genotypes",
      "topics": [
        "simulate_observed_genotype"
      ]
    },
    {
      "page": "simulate_sample_coi",
      "title": "Simulate sample COI",
      "topics": [
        "simulate_sample_coi"
      ]
    },
    {
      "page": "simulate_sample_genotype",
      "title": "Simulate sample genotype",
      "topics": [
        "simulate_sample_genotype"
      ]
    },
    {
      "page": "simulated_data",
      "title": "Simulated genotyping data",
      "topics": [
        "simulated_data"
      ]
    },
    {
      "page": "summarize_allele_freq_fn",
      "title": "Summarize Function of Allele Frequencies",
      "topics": [
        "summarize_allele_freq_fn"
      ]
    },
    {
      "page": "summarize_allele_freqs",
      "title": "Summarize allele frequencies",
      "topics": [
        "summarize_allele_freqs"
      ]
    },
    {
      "page": "summarize_coi",
      "title": "Summarize COI",
      "topics": [
        "summarize_coi"
      ]
    },
    {
      "page": "summarize_effective_coi",
      "title": "Summarize effective COI",
      "topics": [
        "summarize_effective_coi"
      ]
    },
    {
      "page": "summarize_epsilon_neg",
      "title": "Summarize epsilon_neg",
      "topics": [
        "summarize_epsilon_neg"
      ]
    },
    {
      "page": "summarize_epsilon_pos",
      "title": "Summarize epsilon_pos",
      "topics": [
        "summarize_epsilon_pos"
      ]
    },
    {
      "page": "summarize_he",
      "title": "Summarize locus heterozygosity",
      "topics": [
        "summarize_he"
      ]
    },
    {
      "page": "summarize_relatedness",
      "title": "Summarize relatedness",
      "topics": [
        "summarize_relatedness"
      ]
    }
  ],
  "_pkglogo": "https://github.com/eppicenter/moire/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/eppicenter/moire/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppParallel",
    "RcppProgress",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "namibia.Rmd",
      "filename": "namibia.html",
      "title": "Application to Namibia",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Running MOIRE on Namibia data"
      ],
      "created": "2024-03-18 22:03:28",
      "modified": "2024-08-01 01:36:32",
      "commits": 3
    },
    {
      "source": "mcmc_demo.Rmd",
      "filename": "mcmc_demo.html",
      "title": "MCMC Demonstration",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulation and MCMC",
        "Estimating COI",
        "Estimating effective COI",
        "What is effective COI?",
        "Estimating Relatedness",
        "Estimating allele frequencies",
        "Estimating expected heterozygosity"
      ],
      "created": "2020-08-24 22:23:04",
      "modified": "2023-12-19 19:37:25",
      "commits": 14
    }
  ],
  "_score": 4.292256071356476,
  "_indexed": false,
  "_nocasepkg": "moire",
  "_universes": [
    "plasmogenepi"
  ],
  "_indexurl": "https://eppicenter.r-universe.dev/moire",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.5.0",
      "date": "2026-06-07T06:44:47.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "40162d7878748ab6886d167b4fc73d9e0fe42fb107b662ed113ff9f26f0872d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.5.0",
      "date": "2026-06-07T06:44:32.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "0e4304057ad57fe44d17a839431da0186ab94c7e22c27c75c32452dfd366a274",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.5.0",
      "date": "2026-06-07T06:44:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "132513afda7ddd0f2a6bfe68e2489dc93af67690a37c8fc946c7dcd149d138fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.5.0",
      "date": "2026-06-07T06:44:49.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "4d43a4cd5b381d4ec1cb4e36e6206b070aec49689c522f201aff1403263a1798",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.5.0",
      "date": "2026-06-07T06:43:52.000Z",
      "arch": "aarch64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "05c6698c10120d25ce1ec3a724e09017f9b1e53fd960d18b9e4d7c14dea66926",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.5.0",
      "date": "2026-06-07T06:46:21.000Z",
      "arch": "x86_64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "d1fc22a52251d72f54db2f96b9948bc9475d57ac9fa44b21fe2145a59ee20b44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.5.0",
      "date": "2026-06-07T06:43:53.000Z",
      "arch": "aarch64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "28e4cf603f695497e9295ec23eaf93d256353b0d8ee1104e5c64163c2bfb3cbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.5.0",
      "date": "2026-06-07T06:45:23.000Z",
      "arch": "x86_64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "8a5c68f67d149c8285c7dd1e413b1b027074079abf36d55b81e958eefd5a759a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.5.0",
      "date": "2026-06-07T06:44:31.000Z",
      "arch": "emscripten",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "e3fb6edbb91492acabd445626a4745ae417e4918842b4807d5aba61f32d2b2fa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.5.0",
      "date": "2026-06-07T06:43:52.000Z",
      "arch": "x86_64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "b8f838146af553fe2314ded2d4618df67dbb1c48ac86ed710b9c92b796e1a0eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.5.0",
      "date": "2026-06-07T06:43:52.000Z",
      "arch": "x86_64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "e8ce8f22c4a4afe8914d71b2be65f415e48707e7b886eb1f70fecf0548f6faa0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "3.5.0",
      "date": "2026-06-07T06:43:43.000Z",
      "arch": "x86_64",
      "commit": "656dcfbb827430edeffa40a0af7b44cc89f689bd",
      "fileid": "f8042512dc2830308e9c46ccdf3f508cce1124af0db5da20ad7d9032ce9d5c38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27085119316"
    }
  ]
}