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).


RChASM

R-CMD-check

RChASM: A Statistically Rigorous Method for the Detection of Chromosomal Aneuploidies in Ancient DNA Studies.

RChASM is an R implementation of ChASM (Chromosomal Aneuploidy Screening Methodology): a statistically rigorous Bayesian approach for screening data sets for autosomal and sex chromosomal aneuploidies. RChASM 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, RChASM 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). RChASM 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).

Installation

You can install the development version of RChASM from GitHub with:

# install.packages("pak")
pak::pak("jonotuke/RChASM")

Example

Please see vignette("example_analysis") for a tutorial

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RChASM")

1.0.1 by Jono Tuke, 6 months ago


https://jonotuke.github.io/RChASM/, https://github.com/jonotuke/RChASM


Report a bug at https://github.com/jonotuke/RChASM/issues


Browse source code at https://github.com/cran/RChASM


Authors: Adam B. Rohrlach [aut, cph] (ORCID: , Jono Tuke [aut, cre] , Wolfgang Haak [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports checkmate, cowplot, dplyr, EnvStats, ggplot2, ggrepel, ggsci, ggstar, magrittr, matrixStats, mclust, rstatix, sirt, stringr, tibble, tidyr, readr

Suggests knitr, rmarkdown, extraDistr


See at CRAN