check_Fcol {purgeR} | R Documentation |
Check columns with inbreeding values
Description
Takes a column name, and checks its use as inbreeding coefficient. It should name a numeric vector, with values in the range [0,1]
Usage
check_Fcol(ped, Fcol, compute = TRUE)
Arguments
ped |
A dataframe containing the pedigree. Individual (id), maternal (dam), and paternal (sire) identities are mandatory columns. |
Fcol |
Name of column with inbreeding coefficient values. If none is used, inbreeding will be computed. |
compute |
Compute inbreeding if Fcol is NULL |
Value
Vector of inbreeding values (if checks are successful)
[Package purgeR version 1.8.2 Index]