distKL | R Documentation |
distKL: KL distribution obtained for specific relative contributor
distKL(ped, missing, relative, frequency, numsims = 100, cores = 1)
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. |
An object of class data.frame with KLs.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.