R: Kinship coefficient and genetic index of familiality
gif
R Documentation
Kinship coefficient and genetic index of familiality
Description
The genetic index of familality is defined as the mean kinship between
all pairs of individuals in a set multiplied by 100,000. Formally, it
is defined as
100,000 x 2/[n(n-1)]∑_(i=1)^(n-1)∑_(j=i+1)^n k_(ij)
where n is the number of individuals in the set and k_{ij} is the
kinship coefficient between individuals i and j.
The scaling is purely for convenience of presentation.
Usage
gif(data,gifset)
Arguments
data
the trio data of a pedigree
gifset
a subgroup of pedigree members
Value
The returned value is a list containing:
gifval
the genetic index of familiarity
References
Gholami K, Thomas A (1994) A linear time algorithm for calculation of
multiple pairwise kinship coefficients and genetic index of familiality.
Comp Biomed Res 27:342-350
Note
Adapted from gif.c, testable with -Dexecutable as standalone program,
which can be use for any pair of indidivuals