Package: KinMixLite 2.2.1

KinMixLite: Inference About Relationships from DNA Mixtures

Methods for inference about/under complex relationships using peak height data from DNA mixtures: the most basic example would be testing whether a contributor to a mixture is the father of a child of known genotype. This provides most of the functionality of the 'KinMix' package, but with some loss of efficiency and restriction on problem size, as the latter uses 'RHugin' as the Bayes net engine, while this package uses 'gRain'. The package implements the methods introduced in Green, P. J. and Mortera, J. (2017) <doi:10.1016/j.fsigen.2017.02.001> and Green, P. J. and Mortera, J. (2021) <doi:10.1111/rssc.12498>.

Authors:Peter Green [aut, cre]

KinMixLite_2.2.1.tar.gz
KinMixLite_2.2.1.zip(r-4.7)KinMixLite_2.2.1.zip(r-4.6)KinMixLite_2.2.1.zip(r-4.5)
KinMixLite_2.2.1.tgz(r-4.6-any)KinMixLite_2.2.1.tgz(r-4.5-any)
KinMixLite_2.2.1.tar.gz(r-4.7-any)KinMixLite_2.2.1.tar.gz(r-4.6-any)
KinMixLite_2.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
KinMixLite/json (API)

# Install 'KinMixLite' in R:
install.packages('KinMixLite', repos = c('https://petergreen5678.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/petergreen5678/research/issues

Datasets:
  • Cgt - Small data set for demonstrating some capabilities of KinMix and KinMixLite
  • db - Small data set for demonstrating some capabilities of KinMix and KinMixLite
  • emperors - IBD pattern distribution in the Iulius-Claudius pedigree
  • epg - Small data set for demonstrating some capabilities of KinMix and KinMixLite
  • Fgt - Small data set for demonstrating some capabilities of KinMix and KinMixLite
  • Mgt - Small data set for demonstrating some capabilities of KinMix and KinMixLite
  • Rgt - Small data set for demonstrating some capabilities of KinMix and KinMixLite
  • S1gt - Small data set for demonstrating some capabilities of KinMix and KinMixLite
  • S2gt - Small data set for demonstrating some capabilities of KinMix and KinMixLite

On CRAN:

Conda:

1.30 score 1 scripts 198 downloads 38 exports 56 dependencies

Last updated from:f52eb80415. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK184
source / vignettesOK185
linux-release-x86_64OK171
macos-release-arm64OK179
macos-oldrel-arm64OK193
windows-develOK129
windows-releaseOK120
windows-oldrelOK122
wasm-releaseOK120

Exports:add.child.meiosis.nodesadd.motherchild.likd.nodeadd.relative.likd.nodeas.gtas.IBDcheckdatacheckpeaksconvertIBDdelete.DQnodesexpr.make.findingsgt2acaintoMixKinMixlogL.UKXlogLmlogLXloop.rpt.IBDmake.profilemake.profilesmixMLXpedigreeIBDplot.IBDprotectedprotected.mixMLreplace.tables.for.UAFreplace.Ui.tablesrequire.compiledrGTsrnirpt.AMELrpt.IBDrpt.typed.childrpt.typed.parentsrpt.typed.relativerpt.typed.relativesrpt.UAFsizewlr

Dependencies:backportsbroomclicodacodetoolscpp11digestDNAmixturesLitedplyrevaluatefuturefuture.applygenericsglobalsgluegRaingRavengRbasehighrigraphkinship2knitrlatticelifecyclelistenvlpSolvemagrittrMatrixnumDerivparallellypedmutpedtoolspillarpkgconfigpurrrquadprogR6RcppRcppArmadilloRcppEigenribdrlangRsolnpslamstatnet.commonstringistringrtibbletidyrtidyselecttruncnormutf8vctrswithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Inference About Relationships from DNA MixturesKinMixLite-package KinMixLite
Replace CPTs for mixture contributor a Father, given Child genotype, by MBN methodadd.child.meiosis.nodes
Replace CPTs for mixture contributor a Father, given Child and Mother genotypes, by ALN methodadd.motherchild.likd.node
Replace CPTs for mixture contributor a Father, given Child genotype, by ALN methodadd.relative.likd.node
Extract genotype profile for a single contributor from rGTs outputas.gt
Check data for absences of markers or allele valuescheckdata
Check and modify database to have positive frequencies for all observed peaks/allelescheckpeaks
Convert relationship information to IBD pattern distributionas.IBD convertIBD
Delete D and Q dummy nodes from all Bayes nets in mixturedelete.DQnodes
IBD pattern distribution in the Iulius-Claudius pedigreeemperors
Coding additional findings as expressionexpr.make.findings
Formatsformats
Converts genotype profiles to allele count arraysgt2aca
Edit output from rGTs to omit individuals with NA amounts of DNAintoMix
Create a DNA mixture model, with possibly related contributorsKinMix
Evaluates mixture log likelihood for unknown contributors with extra findingslogL.UKX
Log likelihood for mixture model, by markerlogLm
Evaluates mixture log likelihood when extra findings presentlogLX
Analysis of DNA mixtures with familial relationships by loopingloop.rpt.IBD
Convert genotype profile to reference profile formatmake.profile make.profiles
Maximises mixture likelihood when extra findings presentmixMLX
Construct IBD pattern distribution from pedigreepedigreeIBD
Plot IBD patterns and pattern distributionsplot.IBD
Catch numerical errors, and return -Infprotected
Protect against numerical errors in maximum likelihood computationprotected.mixML
Force compilation of all BNs in a DNA mixture modelrequire.compiled
Simulate random genotype profiles and DNA samples for related individualsrGTs
Random number initialiser supporting spontaneous replicationrni
Replace CPTs for AMEL marker in a DNA mixturerpt.AMEL
Replacing CPTs for selected mixture contributors with familial relationshipsreplace.Ui.tables rpt.IBD rpt.typed.child rpt.typed.parents rpt.typed.relative rpt.typed.relatives
Replace CPTs in a DNA mixture to model uncertain allele frequenciesreplace.tables.for.UAF rpt.UAF
Calculate and display total size of BN tables for a DNA mixturesize
Small data set for demonstrating some capabilities of KinMix and KinMixLiteCgt db epg Fgt Mgt Rgt S1gt S2gt test2data
Computes paternity LR using WLR methodwlr