LRparamlink: Calculates likelihoods and likelihood ratios using...

Description Usage Arguments Value Author(s) Examples

Description

Typically export from windows 'Familias' is converted to linkdat using Familias2linkdat prior to calling the function.

Usage

1
LRparamlink(x, ref, markers)

Arguments

x

A list of pedigrees, in the form of linkdat objects.

ref

Integer. Index of the pedigree to be used in the denominator of LR.

markers

Integer vector. Index for markers for which calculations should be done.

Value

LR

Likelihood ratios.

LRperMarker

Likelihood ratios for each marker.

likelihoodsPerSystem

Likelihoods for each marker.

time

User, system and elapsed time.

Author(s)

Magnus Dehli Vigeland and Thore Egeland

Examples

1
2
3
4
5
data(adoption)
x = Familias2linkdat(adoption$pedigrees, adoption$datamatrix, adoption$loci)
result = LRparamlink(x, ref=2)
# Only marker 11 and 33
result33 = LRparamlink(x, ref=2, marker=c(11,33))

fam2r documentation built on May 2, 2019, 1:09 p.m.