{
  "_id": "6acf358dd9de2f3f33fc9288",
  "Type": "Package",
  "Package": "coiaf",
  "Title": "Complexity of Infection Estimation with Allele Frequencies",
  "Version": "0.1.2",
  "Authors@R": "c(person(given = \"Aris\",\nfamily = \"Paschalidis\",\nrole = c(\"aut\", \"cre\"),\nemail = \"aris_paschalidis@brown.edu\",\ncomment = c(ORCID = \"0000-0003-2247-1885\")),\nperson(given = \"OJ\",\nfamily = \"Watson\",\nrole = \"aut\",\nemail = \"oj.watson@hotmail.co.uk\",\ncomment = c(ORCID = \"0000-0003-2374-0741\")))",
  "Maintainer": "Aris Paschalidis <aris_paschalidis@brown.edu>",
  "Description": "Provides a direct method for estimating complexity of\ninfection using easily calculated measures from sequence read\ndepth data.",
  "License": "MIT + file LICENSE",
  "URL": "https://bailey-lab.github.io/coiaf/,\nhttps://github.com/bailey-lab/coiaf",
  "BugReports": "https://github.com/bailey-lab/coiaf/issues",
  "VignetteBuilder": "knitr",
  "RdMacros": "mathjaxr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "TRUE",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.2",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://plasmogenepi.r-universe.dev",
  "Date/Publication": "2023-04-13 20:06:57 UTC",
  "RemoteUrl": "https://github.com/bailey-lab/coiaf",
  "RemoteRef": "HEAD",
  "RemoteSha": "3df5509ceb4dd095ff5910a9d8a18a5e3551e149",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-14 07:42:41 UTC",
    "User": "root"
  },
  "Author": "Aris Paschalidis [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2247-1885>),\nOJ Watson [aut] (ORCID: <https://orcid.org/0000-0003-2374-0741>)",
  "_user": "plasmogenepi",
  "_type": "src",
  "_file": "coiaf_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/9ad177404786125f3c80ec0e138db2f66a62aaeb39ed0bd4c21187219857279d",
  "_filesize": 43794501,
  "_sha256": "9ad177404786125f3c80ec0e138db2f66a62aaeb39ed0bd4c21187219857279d",
  "_expires": "2027-01-22T07:55:54.000Z",
  "_created": "2026-10-14T07:42:41.000Z",
  "_published": "2026-10-14T07:55:56.972Z",
  "_buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/38529740504",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115739871418,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11877945961"
    },
    {
      "job": 115739871411,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11877771343"
    },
    {
      "job": 115739871207,
      "time": 143,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11878675247"
    },
    {
      "job": 115739871398,
      "time": 173,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11878236789"
    },
    {
      "job": 115738584157,
      "time": 209,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11877239146"
    },
    {
      "job": 115739871677,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11878046204"
    },
    {
      "job": 115739871491,
      "time": 145,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11877404223"
    },
    {
      "job": 115739871697,
      "time": 120,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11877986366"
    },
    {
      "job": 115739871448,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11878170027"
    }
  ],
  "_upstream": "https://github.com/bailey-lab/coiaf",
  "_commit": {
    "id": "3df5509ceb4dd095ff5910a9d8a18a5e3551e149",
    "author": "Aris Paschalidis <aris.paschalidis@gmail.com>",
    "committer": "Aris Paschalidis <aris.paschalidis@gmail.com>",
    "message": "Bump release version\n\nFor paper resubmission",
    "time": 1681416417
  },
  "_maintainer": {
    "name": "Aris Paschalidis",
    "email": "aris_paschalidis@brown.edu",
    "login": "arisp99",
    "orcid": "0000-0003-2247-1885",
    "description": "Resident Physician. Former member of the @bailey-lab.",
    "uuid": 19840652
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "mathjaxr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.11",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "pbapply",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "bailey-lab",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "allele-frequencies",
    "coi",
    "complexity-of-infection",
    "estimation"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "arisp99",
      "count": 456,
      "uuid": 19840652
    },
    {
      "user": "ojwatson",
      "count": 18,
      "uuid": 15249565
    }
  ],
  "_userbio": {
    "uuid": 140542976,
    "type": "organization",
    "name": "PlasmoGenEpi",
    "followers": 1,
    "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/coiaf"
  },
  "_devurl": "https://github.com/bailey-lab/coiaf",
  "_pkgdown": "https://bailey-lab.github.io/coiaf/",
  "_searchresults": 17,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/coiaf.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    ":=",
    ".data",
    "%>%",
    "as_label",
    "as_name",
    "bootstrap_ci",
    "compute_coi",
    "compute_coi_regression",
    "cont_sensitivity",
    "disc_sensitivity",
    "enquo",
    "enquos",
    "error_plot",
    "likelihood",
    "optimize_coi",
    "optimize_coi_regression",
    "process_real",
    "process_sim",
    "sensitivity_plot",
    "sim_biallelic",
    "theme_coiaf",
    "theoretical_coi",
    "world_map"
  ],
  "_datasets": [
    {
      "name": "example_real_data",
      "title": "Example real data",
      "object": "example_real_data",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 10,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bootstrap_ci",
      "title": "Generate bootstrapped CI",
      "topics": [
        "bootstrap_ci",
        "bootstrap_ci.default",
        "bootstrap_ci.sim"
      ]
    },
    {
      "page": "compute_coi",
      "title": "Predict the COI",
      "topics": [
        "compute_coi"
      ]
    },
    {
      "page": "compute_coi_regression",
      "title": "Compute COI based on residuals of all loci against theoretical curves",
      "topics": [
        "compute_coi_regression"
      ]
    },
    {
      "page": "cont_sensitivity",
      "title": "Continuous sensitivity analysis",
      "topics": [
        "cont_sensitivity"
      ]
    },
    {
      "page": "disc_sensitivity",
      "title": "Discrete Sensitivity analysis",
      "topics": [
        "disc_sensitivity"
      ]
    },
    {
      "page": "error_plot",
      "title": "Error plot",
      "concept": [
        "plotting functions"
      ],
      "topics": [
        "error_plot"
      ]
    },
    {
      "page": "example_real_data",
      "title": "Example real data",
      "topics": [
        "example_real_data"
      ]
    },
    {
      "page": "likelihood",
      "title": "Likelihood of a COI",
      "concept": [
        "optimization functions"
      ],
      "topics": [
        "likelihood"
      ]
    },
    {
      "page": "optimize_coi",
      "title": "Optimize the COI",
      "concept": [
        "optimization functions"
      ],
      "topics": [
        "optimize_coi"
      ]
    },
    {
      "page": "optimize_coi_regression",
      "title": "Compute COI based on all points fitted to best fitting curve for COI",
      "concept": [
        "optimization functions"
      ],
      "topics": [
        "optimize_coi_regression"
      ]
    },
    {
      "page": "plot-simulation",
      "title": "Plot simulated data",
      "concept": [
        "simulated data functions"
      ],
      "topics": [
        "autoplot.sim",
        "plot-simulation",
        "plot.sim"
      ]
    },
    {
      "page": "process_real",
      "title": "Process real data",
      "concept": [
        "real data functions"
      ],
      "topics": [
        "process_real"
      ]
    },
    {
      "page": "process_sim",
      "title": "Process simulated data",
      "concept": [
        "simulated data functions"
      ],
      "topics": [
        "process_sim"
      ]
    },
    {
      "page": "sensitivity_plot",
      "title": "Sensitivity plot",
      "concept": [
        "plotting functions"
      ],
      "topics": [
        "sensitivity_plot"
      ]
    },
    {
      "page": "sim_biallelic",
      "title": "Simulate biallelic data",
      "concept": [
        "simulated data functions"
      ],
      "topics": [
        "sim_biallelic"
      ]
    },
    {
      "page": "theme_coiaf",
      "title": "Custom ggplot2 theme",
      "topics": [
        "theme_coiaf"
      ]
    },
    {
      "page": "theoretical_coi",
      "title": "Theoretical COI",
      "topics": [
        "theoretical_coi"
      ]
    },
    {
      "page": "world_map",
      "title": "World map plot",
      "concept": [
        "plotting functions"
      ],
      "topics": [
        "world_map"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bailey-lab/coiaf/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/bailey-lab/coiaf/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "mathjaxr",
    "memoise",
    "mime",
    "nnet",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "sensitivity_analysis_continuous.Rmd",
      "filename": "sensitivity_analysis_continuous.html",
      "title": "Continuous sensitivity analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Default parameters",
        "Setting our PLMAF",
        "Overall performance",
        "Simulation parameters",
        "Coverage",
        "Loci",
        "Alpha",
        "Overdispersion",
        "Relatedness",
        "Epsilon",
        "Estimation parameters",
        "COI",
        "Sequencing error",
        "Bins",
        "Bin size"
      ],
      "created": "2021-12-27 00:07:56",
      "modified": "2023-04-13 19:50:07",
      "commits": 10
    },
    {
      "source": "sensitivity_analysis_discrete.Rmd",
      "filename": "sensitivity_analysis_discrete.html",
      "title": "Discrete sensitivity analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Default parameters",
        "Setting our PLMAF",
        "Overall performance",
        "Simulation parameters",
        "Coverage",
        "Loci",
        "Alpha",
        "Overdispersion",
        "Relatedness",
        "Epsilon",
        "Estimation parameters",
        "COI",
        "Sequencing error",
        "Bins",
        "Bin size"
      ],
      "created": "2021-12-27 00:07:56",
      "modified": "2023-04-13 19:50:07",
      "commits": 12
    },
    {
      "source": "example_real_data.Rmd",
      "filename": "example_real_data.html",
      "title": "Real data example",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data structure",
        "Estimate the COI",
        "Data visualization"
      ],
      "created": "2020-07-08 22:32:07",
      "modified": "2022-12-15 23:03:17",
      "commits": 8
    },
    {
      "source": "simulator_details.Rmd",
      "filename": "simulator_details.html",
      "title": "Simulator details",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example simulation"
      ],
      "created": "2022-03-08 18:25:24",
      "modified": "2022-03-08 18:25:24",
      "commits": 1
    }
  ],
  "_score": 4.133538908370218,
  "_indexed": false,
  "_nocasepkg": "coiaf",
  "_universes": [
    "plasmogenepi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-14T07:45:15.000Z",
      "distro": "resolute",
      "commit": "3df5509ceb4dd095ff5910a9d8a18a5e3551e149",
      "fileid": "https://r2.ropensci.org/e788e5577a10108f119461c1c7537fb03dc59741f96152967d487da813abde06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/38529740504"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-14T07:44:56.000Z",
      "distro": "resolute",
      "commit": "3df5509ceb4dd095ff5910a9d8a18a5e3551e149",
      "fileid": "https://r2.ropensci.org/60c9a3f5348592ed521cc60c858966a21ee2e9819b6e5b2fdd6de09be1dd1d4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/38529740504"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-14T07:50:38.000Z",
      "commit": "3df5509ceb4dd095ff5910a9d8a18a5e3551e149",
      "fileid": "https://r2.ropensci.org/e22677b7b82ef1d6584c2ecc79171571ba3a50940ddd660fede7414688ef8281",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/38529740504"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-14T07:54:31.000Z",
      "commit": "3df5509ceb4dd095ff5910a9d8a18a5e3551e149",
      "fileid": "https://r2.ropensci.org/c56e7a5a8e18e80eb536c28f1ad9392d146cf25ba2f658e50d1f59fa71503c83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/38529740504"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-10-14T07:44:59.000Z",
      "commit": "3df5509ceb4dd095ff5910a9d8a18a5e3551e149",
      "fileid": "https://r2.ropensci.org/21c535a94a8a32728cfcc8d76856b3cf330914824227e212b85341b73a1e5de5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/38529740504"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-14T07:44:16.000Z",
      "commit": "3df5509ceb4dd095ff5910a9d8a18a5e3551e149",
      "fileid": "https://r2.ropensci.org/b11bd1a1edbc269136b93a1b872caedbda89df8c7122c90725ee0c59bc60a52e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/38529740504"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-14T07:44:08.000Z",
      "commit": "3df5509ceb4dd095ff5910a9d8a18a5e3551e149",
      "fileid": "https://r2.ropensci.org/a2c6e842feb4d01947fee76996ac3584fd39242476995d9930446e205e325244",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/38529740504"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-14T07:43:53.000Z",
      "commit": "3df5509ceb4dd095ff5910a9d8a18a5e3551e149",
      "fileid": "https://r2.ropensci.org/5240cc0628c690b9c09e4e3f82487d213a04becfab3c2c16b4309fda821f365d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/38529740504"
    }
  ]
}