| chkPed {asreml} | R Documentation |
Check a pedigree
Description
Checks a pedigree for consistency, adds missing founders and sorts so that founders appear before individuals.
Usage
chkPed(
pedigree,
fgen = list(character(0), 0.01),
gender = character(0),
mv = c("0", "NA"),
core_version = NULL
)
Arguments
pedigree |
A data frame where the first three columns correspond to the identifiers for the individual, male parent and female parent, respectively. Founders or unknown parents use 0 (zero) or NA in the parental columns. |
fgen |
An optional list of length two where |
gender |
An optional character string naming the column of |
mv |
A character vector of missing value indicators; elements of
|
core_version |
The version of the algorithmic core to use, not usually required. |
Value
The pedigree in a data frame, reordered and expanded if necessary.