fgl2relatedness: Score pairwise relatedness.

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2
3
4
5
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)

bowenwang7/r3 documentation built on May 17, 2019, 6:39 p.m.