aimeertaylor
. See also theR-universe documentation.Package: paneljudge 0.0.0.9000
paneljudge: Judge the performance of a panel of genetic markers using simulated data
An R package to judge the performance of a panel of genetic markers using data simulated for pairs of haploid genotypes. The data are simulated under a hidden Markov model of relatedness (described in Taylor, A.R., Jacob, P.E., Neafsey, D.E. and Buckee, C.O., 2019. Estimating relatedness between malaria parasites. Genetics, 212(4), pp.1337-1351) using allele frequency estimates provided by the user and inter-marker distances. The markers are treated as categorical random variables whose realisations (alleles) are unordered. The effective cardinalities and diversities of the markers can be computed using the input allele frequency estimates. Panel performance can be judged in terms of the root mean square error (RMSE) and confidence interval width of estimated relatedness, where relatedness is estimated under the same model used to simulate the data. At present, the examples we provide do not consider model misspecification; do not account for uncertainty around input allele frequency estimates; do not consider relatedness between pairs of haploid genotypes simulated using different allele frequencies; do not account for marker drop-out (markers that fail to produce useful data, e.g. because they a monomorphic). Otherwise stated, in the examples provided, the performance of a panel is judged in its most favourable light; it will likely perform less well in reality.
Authors:
paneljudge_0.0.0.9000.tar.gz
paneljudge_0.0.0.9000.zip(r-4.5)paneljudge_0.0.0.9000.zip(r-4.4)paneljudge_0.0.0.9000.zip(r-4.3)
paneljudge_0.0.0.9000.tgz(r-4.4-x86_64)paneljudge_0.0.0.9000.tgz(r-4.4-arm64)paneljudge_0.0.0.9000.tgz(r-4.3-x86_64)paneljudge_0.0.0.9000.tgz(r-4.3-arm64)
paneljudge_0.0.0.9000.tar.gz(r-4.5-noble)paneljudge_0.0.0.9000.tar.gz(r-4.4-noble)
paneljudge_0.0.0.9000.tgz(r-4.4-emscripten)paneljudge_0.0.0.9000.tgz(r-4.3-emscripten)
paneljudge.pdf |paneljudge.html✨
paneljudge/json (API)
# Install 'paneljudge' in R: |
install.packages('paneljudge', repos = c('https://plasmogenepi.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/aimeertaylor/paneljudge/issues
- chr_lengths - Data on chromosome lengths.
- frequencies - Data on allele frequencies of the example GTseq panel.
- markers - Data on markers of the example GTseq panel.
Last updated 2 years agofrom:b489f6ab46. Checks:OK: 1 WARNING: 8. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 06 2024 |
R-4.5-win-x86_64 | WARNING | Dec 06 2024 |
R-4.5-linux-x86_64 | WARNING | Dec 06 2024 |
R-4.4-win-x86_64 | WARNING | Dec 06 2024 |
R-4.4-mac-x86_64 | WARNING | Dec 06 2024 |
R-4.4-mac-aarch64 | WARNING | Dec 06 2024 |
R-4.3-win-x86_64 | WARNING | Dec 06 2024 |
R-4.3-mac-x86_64 | WARNING | Dec 06 2024 |
R-4.3-mac-aarch64 | WARNING | Dec 06 2024 |
Exports:compute_diversitiescompute_eff_cardinalitiescompute_r_and_k_CIsestimate_r_and_ksimulate_Ys
Dependencies:codetoolsdigestdoParalleldoRNGforeachiteratorsRcpprngtools
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Data on chromosome lengths. | chr_lengths |
Function to compute marker diversities | compute_diversities |
Function to compute marker effective cardinalities | compute_eff_cardinalities |
Function to compute confidence intervals for relatedness and switch rate parameters | compute_r_and_k_CIs |
Function to estimate relatedness and switch rate parameters | estimate_r_and_k |
Data on allele frequencies of the example GTseq panel. | frequencies |
Data on markers of the example GTseq panel. | markers |
Function to simulate genotype calls for a pair of haploid genotypes | simulate_Ys |