{
  "_id": "6a27ae2824555f66ed534e15",
  "Package": "o2ools",
  "Title": "Tools for 'outbreaker2'",
  "Version": "0.0.1",
  "Authors@R": "person(\"Cyril\", \"Geismar\", email = \"c.geismar21@imperial.ac.uk\", role = c(\"aut\", \"cre\"))",
  "Description": "Streamlines the post-processing, summarization, and\nvisualization of 'outbreaker2' output via a suite of helper\nfunctions. Facilitates tidy manipulation of posterior samples,\nintegration with case metadata, generation of diagnostic plots\nand summary statistics.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/CyGei/o2ools, https://cygei.github.io/o2ools/",
  "BugReports": "https://github.com/CyGei/o2ools/issues",
  "Repository": "https://cygei.r-universe.dev",
  "Date/Publication": "2025-12-10 14:21:34 UTC",
  "RemoteUrl": "https://github.com/cygei/o2ools",
  "RemoteRef": "HEAD",
  "RemoteSha": "3e6bc15ce7c2a85f8d20c91f0d67cf6e56b6f97c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 08:18:32 UTC",
    "User": "root"
  },
  "Author": "Cyril Geismar [aut, cre]",
  "Maintainer": "Cyril Geismar <c.geismar21@imperial.ac.uk>",
  "MD5sum": "fe0c56d89784a77916c0f8972e58225b",
  "_user": "cygei",
  "_type": "src",
  "_file": "o2ools_0.0.1.tar.gz",
  "_fileid": "d90a4505d2f75b215d738ce626c4a607985c4bba4f85a673d8a7bf171d137f84",
  "_filesize": 1244997,
  "_sha256": "d90a4505d2f75b215d738ce626c4a607985c4bba4f85a673d8a7bf171d137f84",
  "_created": "2026-06-08T08:18:32.000Z",
  "_published": "2026-06-09T06:09:44.299Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80256869470,
      "time": 181,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474917620"
    },
    {
      "job": 80256869439,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474909280"
    },
    {
      "job": 80256869017,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7499784688"
    },
    {
      "job": 80256869351,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474897501"
    },
    {
      "job": 80256869190,
      "time": 297,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474858009"
    },
    {
      "job": 80256869484,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474895241"
    },
    {
      "job": 80256869509,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474891473"
    },
    {
      "job": 80256869557,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7474890529"
    },
    {
      "job": 80256869248,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474888460"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cygei/actions/runs/27124669042",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cygei/o2ools",
  "_commit": {
    "id": "3e6bc15ce7c2a85f8d20c91f0d67cf6e56b6f97c",
    "author": "CyGei <c.geismar21@imperial.ac.uk>",
    "committer": "CyGei <c.geismar21@imperial.ac.uk>",
    "message": "CRAN downloads badge\n",
    "time": 1765376494
  },
  "_maintainer": {
    "name": "Cyril Geismar",
    "email": "c.geismar21@imperial.ac.uk",
    "login": "cygei",
    "description": "Infectious disease modeller at Johns Hopkins University.\nDeveloping tools and methods for epidemic forecasting and outbreak reconstruction.",
    "uuid": 93768792
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "outbreaker2",
      "role": "Suggests"
    },
    {
      "package": "incidence2",
      "role": "Suggests"
    },
    {
      "package": "mixtree",
      "role": "Suggests"
    },
    {
      "package": "epicontacts",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "furrr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "tidygraph",
      "role": "Suggests"
    },
    {
      "package": "ggraph",
      "role": "Suggests"
    }
  ],
  "_owner": "cygei",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 3
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "cygei",
      "count": 24,
      "uuid": 93768792
    }
  ],
  "_userbio": {
    "uuid": 93768792,
    "type": "user",
    "name": "Cy Geismar",
    "description": "Infectious disease modeller at Johns Hopkins University.\r\nDeveloping tools and methods for epidemic forecasting and outbreak reconstruction."
  },
  "_downloads": {
    "count": 562,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/o2ools"
  },
  "_devurl": "https://github.com/cygei/o2ools",
  "_pkgdown": "https://cygei.github.io/o2ools/",
  "_searchresults": 10,
  "_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/o2ools.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cygei/o2ools",
  "_realowner": "cygei",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2025-06-06"
    }
  ],
  "_exports": [
    "augment_linelist",
    "filter_chain",
    "get_accuracy",
    "get_consensus",
    "get_entropy",
    "get_Ri",
    "get_si",
    "get_trees",
    "identify",
    "sample.outbreaker_chains",
    "ttable"
  ],
  "_datasets": [
    {
      "name": "linelist",
      "title": "Simulated linelist with group labels",
      "object": "linelist",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "name",
        "group",
        "onset",
        "sample"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "out",
      "title": "outbreaker2 toy dataset",
      "object": "out",
      "class": [
        "outbreaker_chains",
        "data.frame"
      ],
      "fields": [
        "step",
        "post",
        "like",
        "prior",
        "mu",
        "pi",
        "eps",
        "lambda",
        "alpha_1",
        "alpha_2",
        "alpha_3",
        "alpha_4",
        "alpha_5",
        "alpha_6",
        "alpha_7",
        "alpha_8",
        "alpha_9",
        "alpha_10",
        "alpha_11",
        "alpha_12",
        "alpha_13",
        "alpha_14",
        "alpha_15",
        "alpha_16",
        "alpha_17",
        "alpha_18",
        "alpha_19",
        "alpha_20",
        "alpha_21",
        "alpha_22",
        "alpha_23",
        "alpha_24",
        "alpha_25",
        "alpha_26",
        "alpha_27",
        "alpha_28",
        "alpha_29",
        "alpha_30",
        "t_inf_1",
        "t_inf_2",
        "t_inf_3",
        "t_inf_4",
        "t_inf_5",
        "t_inf_6",
        "t_inf_7",
        "t_inf_8",
        "t_inf_9",
        "t_inf_10",
        "t_inf_11",
        "t_inf_12",
        "t_inf_13",
        "t_inf_14",
        "t_inf_15",
        "t_inf_16",
        "t_inf_17",
        "t_inf_18",
        "t_inf_19",
        "t_inf_20",
        "t_inf_21",
        "t_inf_22",
        "t_inf_23",
        "t_inf_24",
        "t_inf_25",
        "t_inf_26",
        "t_inf_27",
        "t_inf_28",
        "t_inf_29",
        "t_inf_30",
        "kappa_1",
        "kappa_2",
        "kappa_3",
        "kappa_4",
        "kappa_5",
        "kappa_6",
        "kappa_7",
        "kappa_8",
        "kappa_9",
        "kappa_10",
        "kappa_11",
        "kappa_12",
        "kappa_13",
        "kappa_14",
        "kappa_15",
        "kappa_16",
        "kappa_17",
        "kappa_18",
        "kappa_19",
        "kappa_20",
        "kappa_21",
        "kappa_22",
        "kappa_23",
        "kappa_24",
        "kappa_25",
        "kappa_26",
        "kappa_27",
        "kappa_28",
        "kappa_29",
        "kappa_30"
      ],
      "rows": 201,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "augment_linelist",
      "title": "Append summaries of outbreaker results to a linelist",
      "topics": [
        "augment_linelist"
      ]
    },
    {
      "page": "filter_chain",
      "title": "Filter chain by parameter threshold",
      "topics": [
        "filter_chain"
      ]
    },
    {
      "page": "get_accuracy",
      "title": "Calculate the accuracy of outbreak reconstruction",
      "topics": [
        "get_accuracy"
      ]
    },
    {
      "page": "get_consensus",
      "title": "Get the consensus transmission tree",
      "topics": [
        "get_consensus"
      ]
    },
    {
      "page": "get_entropy",
      "title": "Compute the entropy of transmission trees",
      "topics": [
        "get_entropy"
      ]
    },
    {
      "page": "get_Ri",
      "title": "Compute case reproduction numbers (Ri) from outbreaker2 chains",
      "topics": [
        "get_Ri"
      ]
    },
    {
      "page": "get_si",
      "title": "Compute the serial interval (si) from transmission trees",
      "topics": [
        "get_si"
      ]
    },
    {
      "page": "get_trees",
      "title": "Extract posterior transmission trees",
      "topics": [
        "get_trees"
      ]
    },
    {
      "page": "identify",
      "title": "Replace integers in outbreaker2 output with unique identifiers",
      "topics": [
        "identify"
      ]
    },
    {
      "page": "linelist",
      "title": "Simulated linelist with group labels",
      "topics": [
        "linelist"
      ]
    },
    {
      "page": "out",
      "title": "outbreaker2 toy dataset",
      "topics": [
        "out"
      ]
    },
    {
      "page": "sample.outbreaker_chains",
      "title": "Sample rows from an outbreaker_chains object",
      "topics": [
        "sample.outbreaker_chains"
      ]
    },
    {
      "page": "ttable",
      "title": "Compute the transmission contingency table",
      "topics": [
        "ttable"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cygei/o2ools/raw/HEAD/man/figures/logo.png",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "o2ools.Rmd",
      "filename": "o2ools.html",
      "title": "Processing the output of outbreaker2 with o2ools",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Identify",
        "Get individual trees",
        "Performance",
        "Accuracy",
        "Entropy",
        "Visualisation",
        "Augment the linelist with outbreaker2's results",
        "Consensus tree",
        "Maximum posterior tree",
        "Additional analyses"
      ],
      "created": "2025-05-07 18:08:44",
      "modified": "2025-06-03 13:33:28",
      "commits": 2
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "o2ools",
  "_universes": [
    "cygei"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-06-08T08:22:50.000Z",
      "distro": "noble",
      "commit": "3e6bc15ce7c2a85f8d20c91f0d67cf6e56b6f97c",
      "fileid": "4229a142f8ce28d9cefea07a7c215863eaa3f5762ed1ad68429be562d14e1a59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cygei/actions/runs/27124669042"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-06-08T08:22:24.000Z",
      "distro": "noble",
      "commit": "3e6bc15ce7c2a85f8d20c91f0d67cf6e56b6f97c",
      "fileid": "ec0d13e9e91acf549c0949480a8f806ff64ef2bdda4d8c0d4dd96bc2d3dcaa12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cygei/actions/runs/27124669042"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-06-09T06:08:55.000Z",
      "commit": "3e6bc15ce7c2a85f8d20c91f0d67cf6e56b6f97c",
      "fileid": "ce973b059f930e1ab3c3a827f9edef8cada067f237f076526f6f1ff8346e64f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cygei/actions/runs/27124669042"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-06-08T08:21:51.000Z",
      "commit": "3e6bc15ce7c2a85f8d20c91f0d67cf6e56b6f97c",
      "fileid": "b3837189792436190522ca1acddf8ba1a1191e8e87a54b22da8feee9c5337c27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cygei/actions/runs/27124669042"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-06-08T08:21:55.000Z",
      "commit": "3e6bc15ce7c2a85f8d20c91f0d67cf6e56b6f97c",
      "fileid": "08c1e95d5a2eaf969519de3f33d3c15e54dd32ec192bf16783d28240bdef6cb0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cygei/actions/runs/27124669042"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-08T08:21:20.000Z",
      "commit": "3e6bc15ce7c2a85f8d20c91f0d67cf6e56b6f97c",
      "fileid": "d0cf0b9ffa1365204bf45cd5daeb4b55b78cd8a2cb652e3c5f69e11600e7731b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cygei/actions/runs/27124669042"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-08T08:21:20.000Z",
      "commit": "3e6bc15ce7c2a85f8d20c91f0d67cf6e56b6f97c",
      "fileid": "317e3db4644eeb84e4f393cd795db869a317bbb8fda3fe86eda0aa1262b41195",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cygei/actions/runs/27124669042"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-08T08:21:17.000Z",
      "commit": "3e6bc15ce7c2a85f8d20c91f0d67cf6e56b6f97c",
      "fileid": "3365de1e8ea7f2ca33aec5b0d4f58a2d79bdc238ea600170519c42ae075a0e50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cygei/actions/runs/27124669042"
    }
  ]
}