{
  "_id": "6a227067cd65a98ecbd48916",
  "Package": "RChASM",
  "Title": "Detection of Chromosomal Aneuploidies in Ancient DNA Studies",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\ngiven = \"Adam B.\",\nfamily = \"Rohrlach\",\nemail = \"adam.rohrlach@adelaide.edu.au\",\nrole = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-4204-5018\")\n),\nperson(\ngiven = \"Jono\",\nfamily = \"Tuke\",\nemail = \"simon.tuke@adelaide.edu.au\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-1688-8951\")\n),\nperson(\ngiven = \"Wolfgang\",\nfamily = \"Haak\",\nemail = \"wolfgang_haak@eva.mpg.de\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-2475-2007\")\n)\n)",
  "Description": "An R implementation of ChASM (Chromosomal Aneuploidy\nScreening Methodology): a statistically rigorous Bayesian\napproach for screening data sets for autosomal and sex\nchromosomal aneuploidies. This package takes as input the\nnumber of (deduplicated) reads mapping to chromosomes 1-22 and\nthe X and Y chromosomes, and models these using a\nDirichlet-multinomial distribution. From this, This package\nreturns posterior probabilities of sex chromosomal karyotypes\n(XX, XY, XXY, XYY, XXX and X) and full autosomal aneuploidies\n(trisomy 13, trisomy 18 and trisomy 21). This package also\nreturns two diagnostic statistics: (i) a posterior probability\naddressing whether contamination between XX and XY may explain\nthe observed sex chromosomal aneuploidy, and (ii) a chi-squared\nstatistic measuring whether the observed read counts are too\ndivergent from the underlying distribution (and may represent\nabnormal sequencing/quality issues).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://jonotuke.github.io/RChASM/,\nhttps://github.com/jonotuke/RChASM",
  "BugReports": "https://github.com/jonotuke/RChASM/issues",
  "Config/pak/sysreqs": "libcairo2-dev cmake libfontconfig1-dev\nlibfreetype6-dev make libicu-dev libpng-dev libuv1-dev\nlibx11-dev",
  "Repository": "https://jonotuke.r-universe.dev",
  "Date/Publication": "2026-04-30 20:38:48 UTC",
  "RemoteUrl": "https://github.com/jonotuke/rchasm",
  "RemoteRef": "HEAD",
  "RemoteSha": "6cf17e35826caaddf2ef62b6f0f16d9cc5966616",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 06:41:03 UTC",
    "User": "root"
  },
  "Author": "Adam B. Rohrlach [aut, cph] (ORCID:\n<https://orcid.org/0000-0002-4204-5018>),\nJono Tuke [aut, cre] (ORCID: <https://orcid.org/0000-0002-1688-8951>),\nWolfgang Haak [aut] (ORCID: <https://orcid.org/0000-0003-2475-2007>)",
  "Maintainer": "Jono Tuke <simon.tuke@adelaide.edu.au>",
  "MD5sum": "cb93a1c0303acd7ccfe606d40f7ee936",
  "_user": "jonotuke",
  "_type": "src",
  "_file": "RChASM_1.0.1.tar.gz",
  "_fileid": "48181be07c2b2579bf8589e76e50671ccfc806b9c3a72cc7720e4cd73d6bd487",
  "_filesize": 1052774,
  "_sha256": "48181be07c2b2579bf8589e76e50671ccfc806b9c3a72cc7720e4cd73d6bd487",
  "_created": "2026-06-05T06:41:03.000Z",
  "_published": "2026-06-05T06:44:55.710Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79677506380,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430453324"
    },
    {
      "job": 79677506363,
      "time": 206,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430463905"
    },
    {
      "job": 79677506355,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430454049"
    },
    {
      "job": 79677506339,
      "time": 144,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430442154"
    },
    {
      "job": 79677053697,
      "time": 230,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430415276"
    },
    {
      "job": 79677506330,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430449678"
    },
    {
      "job": 79677506379,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430440052"
    },
    {
      "job": 79677506359,
      "time": 86,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430435637"
    },
    {
      "job": 79677506360,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430438397"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jonotuke/actions/runs/26999666829",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jonotuke/rchasm",
  "_commit": {
    "id": "6cf17e35826caaddf2ef62b6f0f16d9cc5966616",
    "author": "Jonathan Tuke <jonotuke@gmail.com>",
    "committer": "Jonathan Tuke <jonotuke@gmail.com>",
    "message": "Edited chasm_input file\n",
    "time": 1777581528
  },
  "_maintainer": {
    "name": "Jono Tuke",
    "email": "simon.tuke@adelaide.edu.au",
    "login": "jonotuke",
    "description": "",
    "uuid": 1281470,
    "orcid": "0000-0002-1688-8951"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "cowplot",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "EnvStats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "ggsci",
      "role": "Imports"
    },
    {
      "package": "ggstar",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "mclust",
      "role": "Imports"
    },
    {
      "package": "rstatix",
      "role": "Imports"
    },
    {
      "package": "sirt",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "extraDistr",
      "role": "Suggests"
    }
  ],
  "_owner": "jonotuke",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-02",
      "n": 8
    },
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 3
    },
    {
      "week": "2026-08",
      "n": 7
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 8
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 7
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-02-22"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jonotuke",
      "count": 39,
      "uuid": 1281470
    }
  ],
  "_userbio": {
    "uuid": 1281470,
    "type": "user",
    "name": "Jonathan Tuke"
  },
  "_downloads": {
    "count": 461,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RChASM"
  },
  "_devurl": "https://github.com/jonotuke/rchasm",
  "_pkgdown": "https://jonotuke.github.io/RChASM/",
  "_searchresults": 0,
  "_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/RChASM.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jonotuke/rchasm",
  "_realowner": "jonotuke",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-03-03"
    },
    {
      "version": "1.0.1",
      "date": "2026-04-22"
    }
  ],
  "_exports": [
    "%>%",
    "plot_diagnostic",
    "printChASM",
    "runChASM",
    "saveChASM",
    "summary_calls"
  ],
  "_datasets": [
    {
      "name": "example_data",
      "title": "example_data",
      "object": "example_data",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "sample",
        "protocol",
        "chr1",
        "chr2",
        "chr3",
        "chr4",
        "chr5",
        "chr6",
        "chr7",
        "chr8",
        "chr9",
        "chr10",
        "chr11",
        "chr12",
        "chr13",
        "chr14",
        "chr15",
        "chr16",
        "chr17",
        "chr18",
        "chr19",
        "chr20",
        "chr21",
        "chr22",
        "X",
        "Y"
      ],
      "rows": 266,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adjustA",
      "title": "Adjusts alpha vector for contamination karyotypes",
      "topics": [
        "adjustA"
      ]
    },
    {
      "page": "bound",
      "title": "bounds number to be in [0,1] (contamination estimation)",
      "topics": [
        "bound"
      ]
    },
    {
      "page": "callKaryotypes",
      "title": "Take prior and observed counts and calls karyotypes and Z-scores",
      "topics": [
        "callKaryotypes"
      ]
    },
    {
      "page": "combineData",
      "title": "combine data",
      "topics": [
        "combineData"
      ]
    },
    {
      "page": "ddirichletultinomial",
      "title": "calculate Dirichlet probabilities with filtering",
      "topics": [
        "ddirichletultinomial"
      ]
    },
    {
      "page": "dirichlet.mle_filter",
      "title": "calculate Dirichlet parameters with filtering",
      "topics": [
        "dirichlet.mle_filter"
      ]
    },
    {
      "page": "estimateGamma",
      "title": "Estimate contamination from XX and XY based on observed counts",
      "topics": [
        "estimateGamma"
      ]
    },
    {
      "page": "example_data",
      "title": "example_data",
      "topics": [
        "example_data"
      ]
    },
    {
      "page": "filterOutliers",
      "title": "filter for outliers",
      "topics": [
        "filterOutliers"
      ]
    },
    {
      "page": "makeC",
      "title": "make c vector for new karyotypes",
      "topics": [
        "makeC"
      ]
    },
    {
      "page": "makeDirichlet",
      "title": "function to make a Dirichlet prior",
      "topics": [
        "makeDirichlet"
      ]
    },
    {
      "page": "makeZscores",
      "title": "Calculates Z-scores per chromosome",
      "topics": [
        "makeZscores"
      ]
    },
    {
      "page": "plot_diagnostic",
      "title": "Plots diagnostic plots",
      "topics": [
        "plot_diagnostic"
      ]
    },
    {
      "page": "printChASM",
      "title": "A function to print the result of the combined analysis to screen",
      "topics": [
        "printChASM"
      ]
    },
    {
      "page": "processReadCounts",
      "title": "processReadCounts",
      "topics": [
        "processReadCounts"
      ]
    },
    {
      "page": "runChASM",
      "title": "Title",
      "topics": [
        "runChASM"
      ]
    },
    {
      "page": "saveChASM",
      "title": "A function for saving the results of a ChASM analysis as a tsv",
      "topics": [
        "saveChASM"
      ]
    },
    {
      "page": "summary_calls",
      "title": "summary_calls",
      "topics": [
        "summary_calls"
      ]
    }
  ],
  "_readme": "https://github.com/jonotuke/rchasm/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "admisc",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "CDM",
    "checkmate",
    "cli",
    "clipr",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "crayon",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "EnvStats",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "gdtools",
    "generics",
    "ggiraph",
    "ggplot2",
    "ggrepel",
    "ggsci",
    "ggstar",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "matrixStats",
    "mclust",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "nortest",
    "numDeriv",
    "pbapply",
    "pbkrtest",
    "pbv",
    "pillar",
    "pkgconfig",
    "polycor",
    "prettyunits",
    "progress",
    "purrr",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "readr",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rstatix",
    "S7",
    "sass",
    "scales",
    "sirt",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "systemfonts",
    "TAM",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "tzdb",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "example_analysis.Rmd",
      "filename": "example_analysis.html",
      "title": "Example ChASM Analysis Using Example Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Running the analysis using runChASM()",
        "Interpreting results and producing diagnostic plots",
        "Uncommon aneuploidies - analysis overview",
        "Autosomal aneuploidies",
        "Sex chromosomal aneuploidies",
        "The limits of how samples can behave",
        "Pre-processing your data using our script"
      ],
      "created": "2026-01-08 11:25:47",
      "modified": "2026-04-22 07:55:05",
      "commits": 15
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "rchasm",
  "_universes": [
    "jonotuke"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-05T06:43:38.000Z",
      "distro": "noble",
      "commit": "6cf17e35826caaddf2ef62b6f0f16d9cc5966616",
      "fileid": "3cae6084567e37ca2e8aaf338cc640a7b3a12acce1b7304f56fe2340ccc5b2f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonotuke/actions/runs/26999666829"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-05T06:44:24.000Z",
      "distro": "noble",
      "commit": "6cf17e35826caaddf2ef62b6f0f16d9cc5966616",
      "fileid": "c3a93d89aef42138f141a1bdd0c3332c9785ad8f0321816f7738ba36518ab40e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonotuke/actions/runs/26999666829"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-05T06:43:44.000Z",
      "commit": "6cf17e35826caaddf2ef62b6f0f16d9cc5966616",
      "fileid": "56f202f4836665680c932e1d88627139108fb0468cdc4795bd80df86bbc14721",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonotuke/actions/runs/26999666829"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-05T06:42:56.000Z",
      "commit": "6cf17e35826caaddf2ef62b6f0f16d9cc5966616",
      "fileid": "e6cd9f17ca9137e6174529bb54a7ccba01027d708e390adc81ba90cec8da0188",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonotuke/actions/runs/26999666829"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-06-05T06:43:42.000Z",
      "commit": "6cf17e35826caaddf2ef62b6f0f16d9cc5966616",
      "fileid": "39ac5cf56fb173a6f03b81b6963a84dbf5dc493b6c52411a5e7b4f89dd5b8854",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jonotuke/actions/runs/26999666829"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-05T06:42:37.000Z",
      "commit": "6cf17e35826caaddf2ef62b6f0f16d9cc5966616",
      "fileid": "3e4371eb7cbbb3507ff25deadeda5a73dde99b2015566b090aa39156db5c45a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonotuke/actions/runs/26999666829"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-05T06:42:18.000Z",
      "commit": "6cf17e35826caaddf2ef62b6f0f16d9cc5966616",
      "fileid": "81332d0de189b96bcdb9eb9dd288175133f9a3d9cce6c1d821605ecaa0713193",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonotuke/actions/runs/26999666829"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-05T06:42:28.000Z",
      "commit": "6cf17e35826caaddf2ef62b6f0f16d9cc5966616",
      "fileid": "62bc36dc4e9379fa5a89c8ef8fc9d638a7721f727ad9397eb18fa3dd8ecd5d65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonotuke/actions/runs/26999666829"
    }
  ]
}