Package: paneljudge 0.0.0.9000

Aimee Taylor

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:Aimee Taylor [aut, cre], Pierre Jacob [aut]

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

Peer review:

Bug tracker:https://github.com/aimeertaylor/paneljudge/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • 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.

On CRAN:

cpp

3.40 score 5 stars 7 scripts 5 exports 8 dependencies

Last updated 2 years agofrom:b489f6ab46. Checks:OK: 1 WARNING: 8. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 06 2024
R-4.5-win-x86_64WARNINGDec 06 2024
R-4.5-linux-x86_64WARNINGDec 06 2024
R-4.4-win-x86_64WARNINGDec 06 2024
R-4.4-mac-x86_64WARNINGDec 06 2024
R-4.4-mac-aarch64WARNINGDec 06 2024
R-4.3-win-x86_64WARNINGDec 06 2024
R-4.3-mac-x86_64WARNINGDec 06 2024
R-4.3-mac-aarch64WARNINGDec 06 2024

Exports:compute_diversitiescompute_eff_cardinalitiescompute_r_and_k_CIsestimate_r_and_ksimulate_Ys

Dependencies:codetoolsdigestdoParalleldoRNGforeachiteratorsRcpprngtools

Example panel performance

Rendered frompaneljudge_example.Rmdusingknitr::rmarkdownon Dec 06 2024.

Last update: 2021-07-20
Started: 2020-04-04