check_Fcol: Check columns with inbreeding values

View source: R/check.R

check_FcolR 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)


purgeR documentation built on Aug. 16, 2023, 9:07 a.m.