RChASM: Detection of Chromosomal Aneuploidies in Ancient DNA Studies

An R implementation of ChASM (Chromosomal Aneuploidy Screening Methodology): a statistically rigorous Bayesian approach for screening data sets for autosomal and sex chromosomal aneuploidies. This package takes as input the number of (deduplicated) reads mapping to chromosomes 1-22 and the X and Y chromosomes, and models these using a Dirichlet-multinomial distribution. From this, This package returns posterior probabilities of sex chromosomal karyotypes (XX, XY, XXY, XYY, XXX and X) and full autosomal aneuploidies (trisomy 13, trisomy 18 and trisomy 21). This package also returns two diagnostic statistics: (i) a posterior probability addressing whether contamination between XX and XY may explain the observed sex chromosomal aneuploidy, and (ii) a chi-squared statistic measuring whether the observed read counts are too divergent from the underlying distribution (and may represent abnormal sequencing/quality issues).

Version: 1.0.0
Depends: R (≥ 3.5.0)
Imports: checkmate, cowplot, dplyr, EnvStats, ggplot2, ggrepel, ggsci, ggstar, magrittr, matrixStats, mclust, rstatix, sirt, stringr, tibble, tidyr, readr
Suggests: knitr, rmarkdown, extraDistr
Published: 2026-03-03
DOI: 10.32614/CRAN.package.RChASM (may not be active yet)
Author: Adam B. Rohrlach ORCID iD [aut, cph], Jono Tuke ORCID iD [aut, cre], Wolfgang Haak ORCID iD [aut]
Maintainer: Jono Tuke <simon.tuke at adelaide.edu.au>
License: MIT + file LICENSE
URL: https://jonotuke.github.io/RChASM/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: RChASM results

Documentation:

Reference manual: RChASM.html , RChASM.pdf
Vignettes: example_analysis (source, R code)

Downloads:

Package source: RChASM_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: RChASM_1.0.0.zip, r-oldrel: RChASM_1.0.0.zip
macOS binaries: r-release (arm64): RChASM_1.0.0.tgz, r-oldrel (arm64): RChASM_1.0.0.tgz, r-release (x86_64): RChASM_1.0.0.tgz, r-oldrel (x86_64): RChASM_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=RChASM to link to this page.