Package: RChASM 1.0.0.9000
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).
Authors:
RChASM_1.0.0.9000.tar.gz
RChASM_1.0.0.9000.zip(r-4.7)RChASM_1.0.0.9000.zip(r-4.6)RChASM_1.0.0.9000.zip(r-4.5)
RChASM_1.0.0.9000.tgz(r-4.6-any)RChASM_1.0.0.9000.tgz(r-4.5-any)
RChASM_1.0.0.9000.tar.gz(r-4.6-any)RChASM_1.0.0.9000.tar.gz(r-4.5-any)
RChASM_1.0.0.9000.tgz(r-4.5-emscripten)
RChASM.pdf |RChASM.html✨
RChASM/json (API)
NEWS
| # Install 'RChASM' in R: |
| install.packages('RChASM', repos = c('https://jonotuke.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jonotuke/rchasm/issues
Pkgdown/docs site:https://jonotuke.github.io
- example_data - Example_data
Last updated from:5cc2ec837e. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 165 | ||
| source / vignettes | OK | 226 | ||
| linux-release-x86_64 | OK | 159 | ||
| macos-release-arm64 | OK | 114 | ||
| macos-oldrel-arm64 | OK | 108 | ||
| windows-devel | OK | 124 | ||
| windows-release | OK | 87 | ||
| windows-oldrel | OK | 78 | ||
| wasm-release | OK | 133 |
Exports:%>%plot_diagnosticprintChASMrunChASMsaveChASMsummary_calls
Dependencies:abindadmiscbackportsbase64encbitbit64bootbroombslibcachemcarcarDataCDMcheckmateclicliprcolorspacecorrplotcowplotcpp11crayonDerivdigestdoBydplyrEnvStatsevaluatefarverfastmapfontawesomefontBitstreamVerafontLiberationfontquiverforecastFormulafracdifffsgdtoolsgenericsggiraphggplot2ggrepelggsciggstargluegridExtragtablehighrhmshtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmatrixStatsmclustmemoisemgcvmicrobenchmarkmimeminqamodelrmvtnormnlmenloptrnnetnortestnumDerivpbapplypbkrtestpbvpillarpkgconfigpolycorprettyunitsprogresspurrrquantregR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreadrreformulasrlangrmarkdownrstatixS7sassscalessirtSparseMstringistringrsurvivalsystemfontsTAMtibbletidyrtidyselecttimeDatetinytextzdburcautf8vctrsviridisLitevroomwithrxfunyamlzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Adjusts alpha vector for contamination karyotypes | adjustA |
| bounds number to be in [0,1] (contamination estimation) | bound |
| Take prior and observed counts and calls karyotypes and Z-scores | callKaryotypes |
| combine data | combineData |
| calculate Dirichlet probabilities with filtering | ddirichletultinomial |
| calculate Dirichlet parameters with filtering | dirichlet.mle_filter |
| Estimate contamination from XX and XY based on observed counts | estimateGamma |
| example_data | example_data |
| filter for outliers | filterOutliers |
| make c vector for new karyotypes | makeC |
| function to make a Dirichlet prior | makeDirichlet |
| Calculates Z-scores per chromosome | makeZscores |
| Plots diagnostic plots | plot_diagnostic |
| A function to print the result of the combined analysis to screen | printChASM |
| processReadCounts | processReadCounts |
| Title | runChASM |
| A function for saving the results of a ChASM analysis as a tsv | saveChASM |
| summary_calls | summary_calls |
