patidx
Paternity index
patidx(child, father, freq, mother = NULL)crimlab.patidx(child, father, freq, mother=None)crimlab patidx --child VALUE --father VALUE --freq VALUE [--mother VALUE]The weight of the DNA evidence that an alleged father is the father of a
child, against an unrelated man, locus by locus and overall. With the
mother’s genotype the index uses the allele the child must have received
from the father; without it the index is the parent-child kinidx().
There is no allowance for mutation, so one inconsistent locus gives an
index of 0. See proof("patidx").
Parameters
Section titled “Parameters”child, fatherGenotypes: two-column matrices of allele labels, one row per locus, or two alleles for one locus.
freqThe population frequencies of the child’s alleles, same shape.
motherNULL, or the mother’s genotype in the same form. When all the tables have row names, their rows are matched tochildby locus name; otherwise by position.
Returns
Section titled “Returns”A list: locus, a data frame with locus and idx (NaN where
the mother’s genotype rules her out as mother); log10idx; and post,
the probability of paternity at even prior odds.
Examples
Section titled “Examples”patidx(child = c(12, 14), father = c(14, 15), freq = c(0.1, 0.2), mother = c(12, 12))Generated from the R help page: patidx in the R reference.