Extracts pedigree upward for one or a group of individuals to find their ascendants
Usage
pedup(ped, progeny, maxgen = c())
Arguments
ped
: data.frame with integer columns corresponding to ID, SIRE, DAM. Missing value is 0.
progeny
: Vector of individual ID(s), from which the new pedigree is being extracted.
maxgen
: (optional) a positive integer for the maximum number of generations (continuing from parents of progeny) to proceed. If no value is provided, there is no limitation on the maximum number of generations to proceed.