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

F(ped, name_to)

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 named "F" with individual inbreeding coefficient values.

References


[Package purgeR version 1.8.2 Index]