{
  "_id": "6a12afc4acfb0bcc41d193aa",
  "Package": "phylosamp",
  "Type": "Package",
  "Title": "Sample Size Calculations for Molecular and Phylogenetic Studies",
  "Version": "1.0.1",
  "Date": "2023-04-25",
  "Authors@R": "c(person(\"Shirlee\", \"Wohl\", role=c(\"aut\", \"ctb\"), email=\"swohl@scripps.edu\"),\nperson(\"Elizabeth C\", \"Lee\", role=c(\"aut\", \"ctb\"), email=\"elizabeth.c.lee@jhu.edu\"),\nperson(\"Lucy\", \"D'Agostino McGowan\", role=c(\"aut\", \"ctb\"), email = \"lucydagostino@gmail.com\",\ncomment = c(ORCID = \"0000-0002-6983-2759\")),\nperson(\"John R\", \"Giles\", role=c(\"aut\", \"ctb\"), email=\"jrgiles@uw.edu\"),\nperson(\"Justin\", \"Lessler\", role=c(\"aut\", \"cre\"), email=\"jlessler@unc.edu\"))",
  "Maintainer": "Justin Lessler <jlessler@unc.edu>",
  "Description": "Implements novel tools for estimating sample sizes needed\nfor phylogenetic studies, including studies focused on\nestimating the probability of true pathogen transmission\nbetween two cases given phylogenetic linkage and studies\nfocused on tracking pathogen variants at a population level.\nMethods described in Wohl, Giles, and Lessler (2021) and in\nWohl, Lee, DiPrete, and Lessler (2023).",
  "License": "GPL-2",
  "URL": "https://github.com/HopkinsIDD/phylosamp",
  "BugReports": "https://github.com/HopkinsIDD/phylosamp/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "Repository": "https://hopkinsidd.r-universe.dev",
  "Date/Publication": "2023-05-23 22:02:12 UTC",
  "RemoteUrl": "https://github.com/hopkinsidd/phylosamp",
  "RemoteRef": "HEAD",
  "RemoteSha": "d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 07:54:10 UTC",
    "User": "root"
  },
  "Author": "Shirlee Wohl [aut, ctb],\nElizabeth C Lee [aut, ctb],\nLucy D'Agostino McGowan [aut, ctb] (ORCID:\n<https://orcid.org/0000-0002-6983-2759>),\nJohn R Giles [aut, ctb],\nJustin Lessler [aut, cre]",
  "MD5sum": "7f9cc4a5524f72b566f86a5e35afe5fc",
  "_user": "hopkinsidd",
  "_type": "src",
  "_file": "phylosamp_1.0.1.tar.gz",
  "_fileid": "8a6a5ce2a5fdac5665790f94dcdce3b0e1d869212a255373f15d39813c22447b",
  "_filesize": 2698639,
  "_sha256": "8a6a5ce2a5fdac5665790f94dcdce3b0e1d869212a255373f15d39813c22447b",
  "_created": "2026-05-24T07:54:10.000Z",
  "_published": "2026-05-24T07:59:00.776Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77581839602,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183450227"
    },
    {
      "job": 77581839571,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183450026"
    },
    {
      "job": 77581839572,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183448024"
    },
    {
      "job": 77581839581,
      "time": 257,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183457389"
    },
    {
      "job": 77581690768,
      "time": 172,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183433218"
    },
    {
      "job": 77581839562,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183444504"
    },
    {
      "job": 77581839567,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183445284"
    },
    {
      "job": 77581839568,
      "time": 123,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183446639"
    },
    {
      "job": 77581839564,
      "time": 144,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183449373"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hopkinsidd/actions/runs/26355609727",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hopkinsidd/phylosamp",
  "_commit": {
    "id": "d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2",
    "author": "Shirlee Wohl <24323246+shwohl@users.noreply.github.com>",
    "committer": "Shirlee Wohl <24323246+shwohl@users.noreply.github.com>",
    "message": "final modifications for cran submission\n",
    "time": 1684879332
  },
  "_maintainer": {
    "name": "Justin Lessler",
    "email": "jlessler@unc.edu",
    "login": "jlessler",
    "description": "",
    "uuid": 4983095
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "cowplot",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "RColorBrewer",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "hopkinsidd",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "phylogenetics",
    "sampling"
  ],
  "_stars": 13,
  "_contributors": [
    {
      "user": "eclee25",
      "count": 68,
      "uuid": 5208766
    },
    {
      "user": "shwohl",
      "count": 58,
      "uuid": 24323246
    },
    {
      "user": "gilesjohnr",
      "count": 23,
      "uuid": 31287260
    },
    {
      "user": "lucymcgowan",
      "count": 16,
      "uuid": 8431897
    }
  ],
  "_userbio": {
    "uuid": 5339898,
    "type": "organization",
    "name": "Infectious Disease Dynamics Group at Johns Hopkins University"
  },
  "_downloads": {
    "count": 238,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/phylosamp"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/hopkinsidd/phylosamp",
  "_searchresults": 29,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/phylosamp.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hopkinsidd/phylosamp",
  "_realowner": "hopkinsidd",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.6",
      "date": "2021-11-22"
    },
    {
      "version": "1.0.1",
      "date": "2023-05-24"
    }
  ],
  "_exports": [
    "exp_links",
    "falsediscoveryrate",
    "gen_dists",
    "gendist_distribution",
    "gendist_roc_format",
    "gendist_sensspec_cutoff",
    "get_optim_roc",
    "obs_pairs_mtml",
    "obs_pairs_mtsl",
    "obs_pairs_stsl",
    "optim_roc_threshold",
    "prob_trans_mtml",
    "prob_trans_mtsl",
    "prob_trans_stsl",
    "relR_power",
    "relR_power_simulated",
    "relR_samplesize",
    "relR_samplesize_basic",
    "relR_samplesize_ci",
    "samplesize",
    "sens_spec_calc",
    "sens_spec_roc",
    "translink_expected_links_obs",
    "translink_expected_links_obs_mtml",
    "translink_expected_links_obs_mtsl",
    "translink_expected_links_obs_stsl",
    "translink_expected_links_true",
    "translink_expected_links_true_mtml",
    "translink_expected_links_true_mtsl",
    "translink_expected_links_true_stsl",
    "translink_fdr",
    "translink_prob_transmit",
    "translink_prob_transmit_mtml",
    "translink_prob_transmit_mtsl",
    "translink_prob_transmit_stsl",
    "translink_samplesize",
    "translink_tdr",
    "true_pairs",
    "true_pairs_mtml",
    "true_pairs_mtsl",
    "true_pairs_stsl",
    "truediscoveryrate",
    "varfreq_cdf_logistic",
    "varfreq_expected_mbias",
    "varfreq_freq_logistic",
    "varfreq_obs_freq",
    "vartrack_cod_ratio",
    "vartrack_prob_detect",
    "vartrack_prob_detect_cont",
    "vartrack_prob_detect_xsect",
    "vartrack_prob_prev",
    "vartrack_prob_prev_xsect",
    "vartrack_samplesize_detect",
    "vartrack_samplesize_detect_cont",
    "vartrack_samplesize_detect_xsect",
    "vartrack_samplesize_prev",
    "vartrack_samplesize_prev_xsect"
  ],
  "_datasets": [
    {
      "name": "genDistSim",
      "title": "Simulations of the genetic distance distribution",
      "object": "genDistSim",
      "class": [
        "data.frame"
      ],
      "fields": [
        "R",
        "gens",
        "X1",
        "X2",
        "X3",
        "X4",
        "X5",
        "X6",
        "X7",
        "X8",
        "X9",
        "X10",
        "X11",
        "X12",
        "X13",
        "X14",
        "X15",
        "X16",
        "X17",
        "X18",
        "X19",
        "X20",
        "X21",
        "X22",
        "X23",
        "X24",
        "X25",
        "X26",
        "X27",
        "X28",
        "X29",
        "X30",
        "X31",
        "X32",
        "X33",
        "X34",
        "X35",
        "X36",
        "X37",
        "X38",
        "X39",
        "X40",
        "X41",
        "X42",
        "X43",
        "X44",
        "X45",
        "X46",
        "X47",
        "X48",
        "X49",
        "X50",
        "X51",
        "X52"
      ],
      "rows": 168,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "exp_links",
      "title": "Calculate expected number of links in a sample",
      "concept": [
        "obs_pairs"
      ],
      "topics": [
        "exp_links"
      ]
    },
    {
      "page": "falsediscoveryrate",
      "title": "Calculate false discovery rate of a sample",
      "concept": [
        "discovery_rate"
      ],
      "topics": [
        "falsediscoveryrate"
      ]
    },
    {
      "page": "gen_dists",
      "title": "Calculate genetic distance distribution",
      "concept": [
        "mutrate_functions"
      ],
      "topics": [
        "gen_dists"
      ]
    },
    {
      "page": "gendist_distribution",
      "title": "Calculate genetic distance distribution",
      "concept": [
        "genetic distance functions"
      ],
      "topics": [
        "gendist_distribution"
      ]
    },
    {
      "page": "gendist_roc_format",
      "title": "Make ROC curve from sensitivity and specificity",
      "concept": [
        "ROC functions",
        "genetic distance functions"
      ],
      "topics": [
        "gendist_roc_format"
      ]
    },
    {
      "page": "gendist_sensspec_cutoff",
      "title": "Calculate sensitivity and specificity of a genetic distance cutoff",
      "concept": [
        "genetic distance functions"
      ],
      "topics": [
        "gendist_sensspec_cutoff"
      ]
    },
    {
      "page": "genDistSim",
      "title": "Simulations of the genetic distance distribution",
      "topics": [
        "genDistSim"
      ]
    },
    {
      "page": "get_optim_roc",
      "title": "Find optimal ROC threshold",
      "concept": [
        "mutrate_functions"
      ],
      "topics": [
        "get_optim_roc"
      ]
    },
    {
      "page": "obs_pairs_mtml",
      "title": "Expected number of observed pairs assuming multiple-transmission and multiple-linkage",
      "concept": [
        "obs_pairs"
      ],
      "topics": [
        "obs_pairs_mtml"
      ]
    },
    {
      "page": "obs_pairs_mtsl",
      "title": "Expected number of observed pairs assuming multiple-transmission and single-linkage",
      "concept": [
        "obs_pairs"
      ],
      "topics": [
        "obs_pairs_mtsl"
      ]
    },
    {
      "page": "obs_pairs_stsl",
      "title": "Expected number of observed pairs assuming single-transmission and single-linkage",
      "concept": [
        "obs_pairs"
      ],
      "topics": [
        "obs_pairs_stsl"
      ]
    },
    {
      "page": "optim_roc_threshold",
      "title": "Find optimal ROC threshold",
      "concept": [
        "ROC functions"
      ],
      "topics": [
        "optim_roc_threshold"
      ]
    },
    {
      "page": "prob_trans_mtml",
      "title": "Probability of transmission assuming multiple-transmission and multiple-linkage",
      "concept": [
        "prob_trans"
      ],
      "topics": [
        "prob_trans_mtml"
      ]
    },
    {
      "page": "prob_trans_mtsl",
      "title": "Probability of transmission assuming multiple-transmission and single-linkage",
      "concept": [
        "prob_trans"
      ],
      "topics": [
        "prob_trans_mtsl"
      ]
    },
    {
      "page": "prob_trans_stsl",
      "title": "Probability of transmission assuming single-transmission and single-linkage",
      "concept": [
        "prob_trans"
      ],
      "topics": [
        "prob_trans_stsl"
      ]
    },
    {
      "page": "relR_power",
      "title": "Calculate power for detecting differential transmission given a sample size",
      "topics": [
        "relR_power"
      ]
    },
    {
      "page": "relR_power_simulated",
      "title": "Simulate power for detecting differential transmission",
      "topics": [
        "relR_power_simulated"
      ]
    },
    {
      "page": "relR_samplesize",
      "title": "Calculate sample size needed to detect differential transmission",
      "topics": [
        "relR_samplesize"
      ]
    },
    {
      "page": "relR_samplesize_basic",
      "title": "Calculate simple derived sample size for detecting differential transmission",
      "topics": [
        "relR_samplesize_basic"
      ]
    },
    {
      "page": "relR_samplesize_ci",
      "title": "Calculate sample size for detecting differential transmission with uncertainty bounds",
      "topics": [
        "relR_samplesize_ci"
      ]
    },
    {
      "page": "relR_samplesize_linkerr",
      "title": "Calculate sample size for detecting differential transmission correcting for sensitivity and specificity",
      "topics": [
        "relR_samplesize_linkerr"
      ]
    },
    {
      "page": "relR_samplesize_opterr",
      "title": "Function to calculate the error in estimated sample size for use in optimize function",
      "topics": [
        "relR_samplesize_opterr"
      ]
    },
    {
      "page": "relR_samplesize_simsolve",
      "title": "Calculate optimized sample size for detecting differential transmission",
      "topics": [
        "relR_samplesize_simsolve"
      ]
    },
    {
      "page": "relR_samplesize_solve",
      "title": "Calculate optimal sample size for detecting differential transmission with imperfect specificity",
      "topics": [
        "relR_samplesize_solve"
      ]
    },
    {
      "page": "samplesize",
      "title": "Calculate sample size",
      "concept": [
        "inverse_functions"
      ],
      "topics": [
        "samplesize"
      ]
    },
    {
      "page": "sens_spec_calc",
      "title": "Calculate sensitivity and specificity",
      "concept": [
        "mutrate_functions"
      ],
      "topics": [
        "sens_spec_calc"
      ]
    },
    {
      "page": "sens_spec_roc",
      "title": "Make ROC from sensitivity and specificity",
      "concept": [
        "mutrate_functions"
      ],
      "topics": [
        "sens_spec_roc"
      ]
    },
    {
      "page": "translink_expected_links_obs",
      "title": "Calculate expected number of transmission links in a sample",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_expected_links_obs"
      ]
    },
    {
      "page": "translink_expected_links_obs_mtml",
      "title": "Calculate expected number of observed pairs assuming multiple-transmission and multiple-linkage",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_expected_links_obs_mtml"
      ]
    },
    {
      "page": "translink_expected_links_obs_mtsl",
      "title": "Calculate expected number of observed pairs assuming multiple-transmission and single-linkage",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_expected_links_obs_mtsl"
      ]
    },
    {
      "page": "translink_expected_links_obs_stsl",
      "title": "Calculate expected number of observed pairs assuming single-transmission and single-linkage",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_expected_links_obs_stsl"
      ]
    },
    {
      "page": "translink_expected_links_true",
      "title": "Calculate expected number of true transmission pairs",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_expected_links_true"
      ]
    },
    {
      "page": "translink_expected_links_true_mtml",
      "title": "Calculate expected number of true transmission pairs assuming multiple-transmission and multiple-linkage",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_expected_links_true_mtml"
      ]
    },
    {
      "page": "translink_expected_links_true_mtsl",
      "title": "Calculate expected number of true transmission pairs assuming multiple-transmission and single-linkage",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_expected_links_true_mtsl"
      ]
    },
    {
      "page": "translink_expected_links_true_stsl",
      "title": "Calculate expected number of true transmission pairs assuming single-transmission and single-linkage",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_expected_links_true_stsl"
      ]
    },
    {
      "page": "translink_fdr",
      "title": "Calculate false discovery rate of identifying transmission pairs in a sample",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_fdr"
      ]
    },
    {
      "page": "translink_prob_transmit",
      "title": "Calculate probability of transmission",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_prob_transmit"
      ]
    },
    {
      "page": "translink_prob_transmit_mtml",
      "title": "Calculate probability of transmission assuming multiple-transmission and multiple-linkage",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_prob_transmit_mtml"
      ]
    },
    {
      "page": "translink_prob_transmit_mtsl",
      "title": "Calculate probability of transmission assuming multiple-transmission and single-linkage",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_prob_transmit_mtsl"
      ]
    },
    {
      "page": "translink_prob_transmit_stsl",
      "title": "Calculate probability of transmission assuming single-transmission and single-linkage",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_prob_transmit_stsl"
      ]
    },
    {
      "page": "translink_samplesize",
      "title": "Calculate sample size needed to identify true transmission links",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_samplesize"
      ]
    },
    {
      "page": "translink_tdr",
      "title": "Calculate true discovery rate of identifying transmission pairs",
      "concept": [
        "transmission linkage functions"
      ],
      "topics": [
        "translink_tdr"
      ]
    },
    {
      "page": "true_pairs",
      "title": "Calculate expected number of true transmission pairs",
      "concept": [
        "true_pairs"
      ],
      "topics": [
        "true_pairs"
      ]
    },
    {
      "page": "true_pairs_mtml",
      "title": "Expected number of true transmission pairs assuming multiple-transmission and multiple-linkage",
      "concept": [
        "true_pairs"
      ],
      "topics": [
        "true_pairs_mtml"
      ]
    },
    {
      "page": "true_pairs_mtsl",
      "title": "Expected number of true transmission pairs assuming multiple-transmission and single-linkage",
      "concept": [
        "true_pairs"
      ],
      "topics": [
        "true_pairs_mtsl"
      ]
    },
    {
      "page": "true_pairs_stsl",
      "title": "Expected number of true transmission pairs assuming single-transmission and single-linkage",
      "concept": [
        "true_pairs"
      ],
      "topics": [
        "true_pairs_stsl"
      ]
    },
    {
      "page": "truediscoveryrate",
      "title": "Calculate true discovery rate of a sample",
      "concept": [
        "discovery_rate"
      ],
      "topics": [
        "truediscoveryrate"
      ]
    },
    {
      "page": "varfreq_cdf_logistic",
      "title": "Calculate cumulative observed variant prevalence at time t given logistic growth",
      "concept": [
        "logistic growth functions",
        "variant frequency functions"
      ],
      "topics": [
        "varfreq_cdf_logistic"
      ]
    },
    {
      "page": "varfreq_expected_mbias",
      "title": "Calculate multiplicative bias (observed / actual) in variant prevalence",
      "concept": [
        "variant frequency functions"
      ],
      "topics": [
        "varfreq_expected_mbias"
      ]
    },
    {
      "page": "varfreq_freq_logistic",
      "title": "Calculate observed variant prevalence at time t given logistic growth",
      "concept": [
        "logistic growth functions",
        "variant frequency functions"
      ],
      "topics": [
        "varfreq_freq_logistic"
      ]
    },
    {
      "page": "varfreq_obs_freq",
      "title": "Calculate observed variant prevalence",
      "concept": [
        "variant frequency functions"
      ],
      "topics": [
        "varfreq_obs_freq"
      ]
    },
    {
      "page": "vartrack_cod_ratio",
      "title": "Calculate the coefficient of detection ratio for two variants",
      "concept": [
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_cod_ratio"
      ]
    },
    {
      "page": "vartrack_prob_detect",
      "title": "Calculate the probability of detecting a variant given a sample size",
      "concept": [
        "variant detection functions",
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_prob_detect"
      ]
    },
    {
      "page": "vartrack_prob_detect_cont",
      "title": "Calculate probability of detecting a variant given a per-timestep sample size assuming periodic sampling",
      "concept": [
        "variant detection functions",
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_prob_detect_cont"
      ]
    },
    {
      "page": "vartrack_prob_detect_xsect",
      "title": "Calculate probability of detecting a variant assuming cross-sectional sampling",
      "concept": [
        "variant detection functions",
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_prob_detect_xsect"
      ]
    },
    {
      "page": "vartrack_prob_prev",
      "title": "Calculate confidence in a variant estimate given a sample size",
      "concept": [
        "variant prevalence estimation functions",
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_prob_prev"
      ]
    },
    {
      "page": "vartrack_prob_prev_xsect",
      "title": "Calculate confidence in a variant estimate assuming cross-sectional sampling",
      "concept": [
        "variant prevalence estimation functions",
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_prob_prev_xsect"
      ]
    },
    {
      "page": "vartrack_samplesize_detect",
      "title": "Calculate sample size needed for variant detection given a desired probability of detection",
      "concept": [
        "variant detection functions",
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_samplesize_detect"
      ]
    },
    {
      "page": "vartrack_samplesize_detect_cont",
      "title": "Calculate sample size needed for variant detection assuming periodic sampling",
      "concept": [
        "variant detection functions",
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_samplesize_detect_cont"
      ]
    },
    {
      "page": "vartrack_samplesize_detect_xsect",
      "title": "Calculate sample size needed for variant detection assuming cross-sectional sampling",
      "concept": [
        "variant detection functions",
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_samplesize_detect_xsect"
      ]
    },
    {
      "page": "vartrack_samplesize_prev",
      "title": "Calculate sample size needed for estimating variant prevalence given a desired confidence",
      "concept": [
        "variant prevalence estimation functions",
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_samplesize_prev"
      ]
    },
    {
      "page": "vartrack_samplesize_prev_xsect",
      "title": "Calculate sample size needed for variant prevalence estimation under cross-sectional sampling",
      "concept": [
        "variant prevalence estimation functions",
        "variant tracking functions"
      ],
      "topics": [
        "vartrack_samplesize_prev_xsect"
      ]
    }
  ],
  "_readme": "https://github.com/hopkinsidd/phylosamp/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "lifecycle",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "V1_CoefficientDetectionBias.Rmd",
      "filename": "V1_CoefficientDetectionBias.html",
      "title": "Estimating bias in observed variant prevalence",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Sample size calculations"
      ],
      "created": "2023-02-14 20:06:11",
      "modified": "2023-02-14 20:06:11",
      "commits": 1
    },
    {
      "source": "L2_SampleSize.Rmd",
      "filename": "L2_SampleSize.html",
      "title": "Estimating sample size for transmission linkage from the false discovery rate",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-02-14 20:06:11",
      "modified": "2023-05-23 19:06:36",
      "commits": 2
    },
    {
      "source": "L1_FalseDiscoveryRate.Rmd",
      "filename": "L1_FalseDiscoveryRate.html",
      "title": "Estimating the linkage false discovery rate from sample size",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Important Note"
      ],
      "created": "2023-02-14 20:06:11",
      "modified": "2023-02-14 20:06:11",
      "commits": 1
    },
    {
      "source": "V3_ProbCrossSectional.Rmd",
      "filename": "V3_ProbCrossSectional.html",
      "title": "Estimating the probability of detecting a variant",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Variant detection",
        "Variant prevalence",
        "Other sampling scenarios"
      ],
      "created": "2023-02-14 20:06:11",
      "modified": "2023-05-23 19:06:36",
      "commits": 2
    },
    {
      "source": "V5_ProbDetectPeriodic.Rmd",
      "filename": "V5_ProbDetectPeriodic.html",
      "title": "Estimating the probability of detecting a variant",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Variant prevalence"
      ],
      "created": "2023-02-14 20:06:11",
      "modified": "2023-02-14 20:06:11",
      "commits": 1
    },
    {
      "source": "V2_SampleSizeCrossSectional.Rmd",
      "filename": "V2_SampleSizeCrossSectional.html",
      "title": "Estimating the sample size needed for variant monitoring",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Variant detection",
        "Variant prevalence",
        "Other sampling scenarios"
      ],
      "created": "2023-02-14 20:06:11",
      "modified": "2023-02-14 20:06:11",
      "commits": 1
    },
    {
      "source": "V4_SampleSizePeriodic.Rmd",
      "filename": "V4_SampleSizePeriodic.html",
      "title": "Estimating the sample size needed for variant monitoring",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Variant detection",
        "Variant prevalence",
        "Other sampling scenarios"
      ],
      "created": "2023-02-14 20:06:11",
      "modified": "2023-02-14 20:06:11",
      "commits": 1
    },
    {
      "source": "L3_SensitivitySpecificity.Rmd",
      "filename": "L3_SensitivitySpecificity.html",
      "title": "Estimating the sensitivity and specificity of a linkage criteria",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. The mutation rate of the pathogen",
        "2. The distribution of generations between cases"
      ],
      "created": "2023-02-14 20:06:11",
      "modified": "2023-02-14 20:06:11",
      "commits": 1
    },
    {
      "source": "L4_IllustrativeExamples.Rmd",
      "filename": "L4_IllustrativeExamples.html",
      "title": "Illustrative examples for evaluating transmission linkage",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Calculating sensitivity and specificity for an Ebola-like pathogen",
        "Optimal values for an Ebola-like pathogen",
        "Calculating sensitivity and specificity for a faster-spreading, slower mutating pathogen",
        "Optimal values for a faster-spreading, slower mutating pathogen",
        "Calculating the false discovery rate of genetic distance as a linkage criteria"
      ],
      "created": "2023-02-14 20:06:11",
      "modified": "2023-02-14 20:06:11",
      "commits": 1
    },
    {
      "source": "V6_IllustrativeExample.Rmd",
      "filename": "V6_IllustrativeExample.html",
      "title": "Variant surveillance example",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Guidance for determining variant-specific parameters",
        "The coefficient of detection ratio",
        "Sample size calculations",
        "Estimating the probability of detection"
      ],
      "created": "2023-02-14 20:06:11",
      "modified": "2023-02-14 20:06:11",
      "commits": 1
    }
  ],
  "_score": 6.752432609261474,
  "_indexed": true,
  "_nocasepkg": "phylosamp",
  "_universes": [
    "hopkinsidd",
    "jlessler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-24T07:56:16.000Z",
      "distro": "noble",
      "commit": "d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2",
      "fileid": "dd45484ec0fcbcf397235c120fd7f01e81a69c48a63cb23049585f90f8d3197b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hopkinsidd/actions/runs/26355609727"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-24T07:56:14.000Z",
      "distro": "noble",
      "commit": "d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2",
      "fileid": "3ab7374e6282fbe4ba8ab11310edb096332d590d07dab1eab47c4896296a8fa2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hopkinsidd/actions/runs/26355609727"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-24T07:56:15.000Z",
      "commit": "d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2",
      "fileid": "d284e3e8279e9f624d5b6f0ffe7b45f32c21f8491115e9b4b7c2ddf018aae34b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hopkinsidd/actions/runs/26355609727"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-24T07:57:08.000Z",
      "commit": "d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2",
      "fileid": "80f61f58dc2e24eb6f6bb42a87b53e39eaad8df917b0ed1bbfd95c3845163de8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hopkinsidd/actions/runs/26355609727"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-05-24T07:56:13.000Z",
      "commit": "d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2",
      "fileid": "768dae13a49d7927063472e348b834e3f1537c9365026e625a5053d785356781",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hopkinsidd/actions/runs/26355609727"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-24T07:55:29.000Z",
      "commit": "d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2",
      "fileid": "78bfe19088937ddac88b303d99402e002ef622842bb7185405d900cbbc2dd730",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hopkinsidd/actions/runs/26355609727"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-24T07:55:36.000Z",
      "commit": "d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2",
      "fileid": "a2f17bafad8c55b5a5b5c496cde0177e7f25e8cf9e26544267d4d88aa2a43d97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hopkinsidd/actions/runs/26355609727"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-24T07:56:09.000Z",
      "commit": "d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2",
      "fileid": "9ad8da19226e4338a233d61f1a9536867876b165f457e158e916b4f16f6cb01d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hopkinsidd/actions/runs/26355609727"
    }
  ]
}