ip_F {purgeR}R Documentation

Inbreeding coefficient

Description

Computes the standard inbreeding coefficient (F). This is the probability that two alleles on a locus are identical by descent (Falconer and Mackay 1996, Wright 1922), calculated from the genealogical coancestry matrix (Malécot 1948).

Usage

ip_F(ped, name_to = "Fi")

Arguments

ped

A dataframe containing the pedigree. Individual (id), maternal (dam), and paternal (sire) identities are mandatory columns.

name_to

A string naming the new output column.

Value

The input dataframe, plus an additional column with individual inbreeding coefficient values (named "Fi" by default).

References

See Also

exp_F

Examples

data(dama)
dama <- ip_F(dama)
tail(dama)

[Package purgeR version 1.8.2 Index]