Pruning pedigree in two different modes (strict, loose)
Usage
pruneped(ped, pheno, mode)
Arguments
ped
: data.frame with integer columns corresponding to ID, SIRE, DAM. Missing value is 0.
pheno
: Vector of phenotyped individuals
mode
: strict or loose
Value
Pruned pedigree data.frame
Details
In strict pruning, individuals without progeny and phenotype are recursively deleted from the pedigree, and then individuals without known parent and without progeny (if any) are deleted. Therefore, all uninfluential individuals are deleted. The downside is that individuals without phenotype or phenotyped progeny cannot receive any genetic merit based on the information from their phenotyped relatives.
In loose pruning, the pedigree is upward extracted for phenotyped individuals to thier founders, and then the pedigree is downward extracted from the founders.