{
  "_id": "6a20a575cd65a98ecbd18588",
  "Package": "snp.slicer",
  "Title": "Bayesian Nonparametric Resolution of Multi-Strain Infections",
  "Version": "0.1.0",
  "Author": "Nianqiao Ju [aut], Maxwell Murphy [cre]",
  "Maintainer": "Maxwell Murphy <maxwell.murphy@ucsf.edu>",
  "Authors@R": "person(\ngiven = \"Nianqiao\",\nfamily = \"Ju\",\ncomment = c(ORCID = \"0000-0002-8861-4087\"),\nrole = c(\"aut\")\n)\nperson(\ngiven = \"Maxwell\",\nfamily = \"Murphy\",\nemail = \"maxwell.murphy@ucsf.edu\",\ncomment = c(ORCID = \"0000-0003-0332-4388\"),\nrole = c(\"cre\")\n)",
  "Description": "Implementation of SNP-Slice, a Bayesian nonparametric\nmethod for resolving multi-strain infections using slice\nsampling with stick-breaking construction. The algorithm\nsimultaneously estimates strain haplotypes and links them to\nhosts from sequencing data. Supports multiple observation\nmodels including categorical, Poisson, binomial, and negative\nbinomial distributions.",
  "License": "GPL-3 + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/plasmogenepi/snp.slicer,\nhttps://plasmogenepi.github.io/snp.slicer/",
  "BugReports": "https://github.com/plasmogenepi/snp.slicer/issues",
  "Config/pak/sysreqs": "libicu-dev libx11-dev",
  "Repository": "https://plasmogenepi.r-universe.dev",
  "Date/Publication": "2026-06-03 20:12:50 UTC",
  "RemoteUrl": "https://github.com/PlasmoGenEpi/snp.slicer",
  "RemoteRef": "HEAD",
  "RemoteSha": "303bfd83dd00543f40e9feca2a037c44859e8998",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 22:02:47 UTC",
    "User": "root"
  },
  "MD5sum": "32a3cbdff10a97593482c084d52c90ec",
  "_user": "plasmogenepi",
  "_type": "src",
  "_file": "snp.slicer_0.1.0.tar.gz",
  "_fileid": "1ca2d497f1e5be4d7a96082ddd8497feb932950fe06aec1015a3b2f7c9e19417",
  "_filesize": 16285868,
  "_sha256": "1ca2d497f1e5be4d7a96082ddd8497feb932950fe06aec1015a3b2f7c9e19417",
  "_created": "2026-06-03T22:02:47.000Z",
  "_published": "2026-06-03T22:06:45.759Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79405137541,
      "time": 190,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7397855300"
    },
    {
      "job": 79405137503,
      "time": 188,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7397855009"
    },
    {
      "job": 79405137741,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7397839587"
    },
    {
      "job": 79405137486,
      "time": 148,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7397841362"
    },
    {
      "job": 79404558623,
      "time": 209,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7397795240"
    },
    {
      "job": 79405137527,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7397838755"
    },
    {
      "job": 79405137508,
      "time": 165,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7397848103"
    },
    {
      "job": 79405137562,
      "time": 127,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7397836864"
    },
    {
      "job": 79405137727,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7397841796"
    }
  ],
  "_buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/26915642339",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/PlasmoGenEpi/snp.slicer",
  "_commit": {
    "id": "303bfd83dd00543f40e9feca2a037c44859e8998",
    "author": "Alfred Hubbard <ahubba19@jh.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #3 from PlasmoGenEpi/hotfix/kplus2-mu-loop\n\nfix: skip middle-stick mu loop when kplus is 2",
    "time": 1780517570
  },
  "_maintainer": {
    "name": "Maxwell Murphy",
    "email": "maxwell.murphy@ucsf.edu",
    "login": "m-murphy",
    "orcid": "0000-0003-0332-4388",
    "twitter": "@MxMrphy",
    "description": "",
    "uuid": 5225200
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    }
  ],
  "_owner": "plasmogenepi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-33",
      "n": 5
    },
    {
      "week": "2026-09",
      "n": 15
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "m-murphy",
      "count": 23,
      "uuid": 5225200
    },
    {
      "user": "a-hubbard",
      "count": 7,
      "uuid": 25799946
    }
  ],
  "_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/snp.slicer"
  },
  "_devurl": "https://github.com/plasmogenepi/snp.slicer",
  "_pkgdown": "https://plasmogenepi.github.io/snp.slicer/",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/snp.slicer.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "calculate_allele_frequencies",
    "calculate_allele_frequencies_by_sets",
    "calculate_individual_coi",
    "clear_performance_log",
    "effective_sample_size",
    "extract_allocations",
    "extract_strains",
    "get_performance_summary",
    "load_example_results",
    "plot_convergence",
    "print_performance_summary",
    "snp_slice",
    "snp_slice_binomial",
    "snp_slice_categorical",
    "snp_slice_negative_binomial",
    "snp_slice_poisson"
  ],
  "_datasets": [
    {
      "name": "example_read0",
      "title": "Example Read Count Data - Reference Alleles",
      "object": "example_read0",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "site1",
        "site2",
        "site3",
        "site4",
        "site5",
        "site6",
        "site7",
        "site8",
        "site9",
        "site10",
        "site11",
        "site12",
        "site13",
        "site14",
        "site15",
        "site16",
        "site17",
        "site18",
        "site19",
        "site20",
        "site21",
        "site22",
        "site23",
        "site24",
        "site25",
        "site26",
        "site27",
        "site28",
        "site29",
        "site30",
        "site31",
        "site32",
        "site33",
        "site34",
        "site35",
        "site36",
        "site37",
        "site38",
        "site39",
        "site40",
        "site41",
        "site42",
        "site43",
        "site44",
        "site45",
        "site46",
        "site47",
        "site48",
        "site49",
        "site50",
        "site51",
        "site52",
        "site53",
        "site54",
        "site55",
        "site56",
        "site57",
        "site58",
        "site59",
        "site60",
        "site61",
        "site62",
        "site63",
        "site64",
        "site65",
        "site66",
        "site67",
        "site68",
        "site69",
        "site70",
        "site71",
        "site72",
        "site73",
        "site74",
        "site75",
        "site76",
        "site77",
        "site78",
        "site79",
        "site80",
        "site81",
        "site82",
        "site83",
        "site84",
        "site85",
        "site86",
        "site87",
        "site88",
        "site89",
        "site90",
        "site91",
        "site92",
        "site93",
        "site94",
        "site95",
        "site96"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "example_read1",
      "title": "Example Read Count Data - Alternate Alleles",
      "object": "example_read1",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "site1",
        "site2",
        "site3",
        "site4",
        "site5",
        "site6",
        "site7",
        "site8",
        "site9",
        "site10",
        "site11",
        "site12",
        "site13",
        "site14",
        "site15",
        "site16",
        "site17",
        "site18",
        "site19",
        "site20",
        "site21",
        "site22",
        "site23",
        "site24",
        "site25",
        "site26",
        "site27",
        "site28",
        "site29",
        "site30",
        "site31",
        "site32",
        "site33",
        "site34",
        "site35",
        "site36",
        "site37",
        "site38",
        "site39",
        "site40",
        "site41",
        "site42",
        "site43",
        "site44",
        "site45",
        "site46",
        "site47",
        "site48",
        "site49",
        "site50",
        "site51",
        "site52",
        "site53",
        "site54",
        "site55",
        "site56",
        "site57",
        "site58",
        "site59",
        "site60",
        "site61",
        "site62",
        "site63",
        "site64",
        "site65",
        "site66",
        "site67",
        "site68",
        "site69",
        "site70",
        "site71",
        "site72",
        "site73",
        "site74",
        "site75",
        "site76",
        "site77",
        "site78",
        "site79",
        "site80",
        "site81",
        "site82",
        "site83",
        "site84",
        "site85",
        "site86",
        "site87",
        "site88",
        "site89",
        "site90",
        "site91",
        "site92",
        "site93",
        "site94",
        "site95",
        "site96"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "example_snp_data",
      "title": "Example SNP Data",
      "object": "example_snp_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculate_allele_frequencies",
      "title": "Calculate Allele Frequencies from MCMC Results",
      "topics": [
        "calculate_allele_frequencies"
      ]
    },
    {
      "page": "calculate_allele_frequencies_by_sets",
      "title": "Calculate allele frequencies for multiple target sets",
      "topics": [
        "calculate_allele_frequencies_by_sets"
      ]
    },
    {
      "page": "calculate_individual_coi",
      "title": "Calculate estimated individual COI with uncertainty",
      "topics": [
        "calculate_individual_coi"
      ]
    },
    {
      "page": "clear_performance_log",
      "title": "Clear performance log",
      "topics": [
        "clear_performance_log"
      ]
    },
    {
      "page": "effective_sample_size",
      "title": "Calculate effective sample size for MCMC diagnostics",
      "topics": [
        "effective_sample_size"
      ]
    },
    {
      "page": "example_read0",
      "title": "Example Read Count Data - Reference Alleles",
      "topics": [
        "example_read0"
      ]
    },
    {
      "page": "example_read1",
      "title": "Example Read Count Data - Alternate Alleles",
      "topics": [
        "example_read1"
      ]
    },
    {
      "page": "example_snp_data",
      "title": "Example SNP Data",
      "topics": [
        "example_snp_data"
      ]
    },
    {
      "page": "extract_allocations",
      "title": "Extract allocation information from SNP-Slice results",
      "topics": [
        "extract_allocations"
      ]
    },
    {
      "page": "extract_strains",
      "title": "Extract strain information from SNP-Slice results",
      "topics": [
        "extract_strains"
      ]
    },
    {
      "page": "get_performance_summary",
      "title": "Get performance summary",
      "topics": [
        "get_performance_summary"
      ]
    },
    {
      "page": "load_example_results",
      "title": "Load Example Analysis Results",
      "topics": [
        "load_example_results"
      ]
    },
    {
      "page": "performance_env",
      "title": "Performance Logger for SNP-Slice",
      "topics": [
        "performance_env"
      ]
    },
    {
      "page": "plot_convergence",
      "title": "Plot convergence diagnostics",
      "topics": [
        "plot_convergence"
      ]
    },
    {
      "page": "print_performance_summary",
      "title": "Print performance summary",
      "topics": [
        "print_performance_summary"
      ]
    },
    {
      "page": "print.ess_all_results",
      "title": "Print comprehensive ESS results for all parameters",
      "topics": [
        "print.ess_all_results"
      ]
    },
    {
      "page": "print.ess_result",
      "title": "Print effective sample size results",
      "topics": [
        "print.ess_result"
      ]
    },
    {
      "page": "print.snp_slice_results",
      "title": "Print SNP-Slice results",
      "topics": [
        "print.snp_slice_results"
      ]
    },
    {
      "page": "snp_slice",
      "title": "Bayesian Nonparametric Resolution of Multi-Strain Infections",
      "topics": [
        "snp_slice",
        "snp_slice_binomial",
        "snp_slice_categorical",
        "snp_slice_negative_binomial",
        "snp_slice_poisson"
      ]
    },
    {
      "page": "summary.snp_slice_results",
      "title": "Print summary of SNP-Slice results",
      "topics": [
        "summary.snp_slice_results"
      ]
    }
  ],
  "_pkglogo": "https://github.com/PlasmoGenEpi/snp.slicer/raw/HEAD/logo.png",
  "_readme": "https://github.com/PlasmoGenEpi/snp.slicer/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to SNP-Slice",
      "author": "Maxwell Murphy",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Quick start",
        "Understanding results",
        "Downstream analyses",
        "Posterior allele frequencies",
        "Individual COI with uncertainty",
        "Running Your Own Analysis",
        "Parameter Tuning",
        "Convergence diagnostics",
        "Visualizing results",
        "Multiplicity of Infection (MOI) Distribution",
        "Strain Frequency Analysis",
        "Strain Pattern Heatmap",
        "Host-Strain Allocation Heatmap",
        "Summary Statistics",
        "Next steps",
        "References"
      ],
      "created": "2025-08-11 20:31:33",
      "modified": "2026-03-02 19:07:49",
      "commits": 5
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "snp.slicer",
  "_universes": [
    "plasmogenepi",
    "m-murphy"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-03T22:05:28.000Z",
      "distro": "noble",
      "commit": "303bfd83dd00543f40e9feca2a037c44859e8998",
      "fileid": "8003d355e2cbc9a0f23cdc2d82933894e2a59f3f01b2fa56af4b237f79eeea22",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/26915642339"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-03T22:05:26.000Z",
      "distro": "noble",
      "commit": "303bfd83dd00543f40e9feca2a037c44859e8998",
      "fileid": "cfde6754e25acb2be7e72ce427887644a7b6f0de84b75aca945ae5eb9da5c61f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/26915642339"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-03T22:04:52.000Z",
      "commit": "303bfd83dd00543f40e9feca2a037c44859e8998",
      "fileid": "4ad079bd21ebfc92fedd36f3dfedcab9d95c4b6ff4a15c04cac80ae12db73c5a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/26915642339"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-03T22:04:53.000Z",
      "commit": "303bfd83dd00543f40e9feca2a037c44859e8998",
      "fileid": "f019a02ba0cd62b8cce65bbde26a9c9991ad68c8c02a975ef95086042269d799",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/26915642339"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-03T22:05:25.000Z",
      "commit": "303bfd83dd00543f40e9feca2a037c44859e8998",
      "fileid": "28a739e656c4cdab0bfb0e778ea672a7b1d562ecb85493b1673124b3651b0376",
      "status": "success",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/26915642339"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T22:04:50.000Z",
      "commit": "303bfd83dd00543f40e9feca2a037c44859e8998",
      "fileid": "0ccff4808b14632868dee84488acb01f3af52b8eb3bb58b3b722a0569b2e0ce4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/26915642339"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T22:04:14.000Z",
      "commit": "303bfd83dd00543f40e9feca2a037c44859e8998",
      "fileid": "76f42898d815069e9cd0c5f1f8a39d946fa3e4eaf0f452f643571f2a8eee90de",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/26915642339"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T22:04:28.000Z",
      "commit": "303bfd83dd00543f40e9feca2a037c44859e8998",
      "fileid": "6e70541f50d65b6f74df5b4e5d4eed73778c82c6460ee9e6eeefe25843b5341b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/26915642339"
    }
  ]
}