distKL {forensIT} | R Documentation |
distKL: KL distribution obtained for specific relative contributor
Description
distKL: KL distribution obtained for specific relative contributor
Usage
distKL(ped, missing, relative, frequency, numsims = 100, cores = 1)
Arguments
ped |
Reference pedigree. It could be an input from read_fam() function or a pedigree built with pedtools. # nolint |
missing |
Missing person |
relative |
Selected relative. |
frequency |
Allele frequency database. |
numsims |
Number of simulated genotypes. |
cores |
Enables parallelization. |
Value
An object of class data.frame with KLs.
Examples
library(forrel)
x = linearPed(2)
x = setMarkers(x, locusAttributes = NorwegianFrequencies[1:2])
x = profileSim(x, N = 1, ids = 2)
distKL(ped = x, missing = 5, relative = 1, cores = 1,
frequency = NorwegianFrequencies[1:2], numsims = 3)
[Package forensIT version 1.0.0 Index]