fgl2relatedness {rres}R Documentation

Score pairwise relatedness.

Description

fgl2relatedness determines pairwise relatedness given the four founder genome labels of two individuals at a marker.

Usage

fgl2relatedness(fgl1p, fgl1m, fgl2p, fgl2m)

Arguments

fgl1p, fgl1m, fgl2p, fgl2m

positive integer, represents founder genome label.

Value

A value in [0, 0.5, 1, 2] representing local relatedness coefficient.

Examples

fgl2relatedness(1, 1, 1, 1)
fgl2relatedness(1, 2, 1, 2)
fgl2relatedness(1, 2, 1, 3)
fgl2relatedness(3, 4, 5, 6)
fgl2relatedness(4, 5, 4, 4)

[Package rres version 1.1 Index]