powered by
Find parent-progeny matings in the pedigree
pp_mate_finder(ped)
pp_mates : A data.frame with two columns (SIRE, DAM) representing parent-progeny mates.
data.frame
: A pedigree data.frame. The first three columns (ID, SIRE, DAM) are used.
ped = data.frame(ID=1:4, SIRE=c(0,0,1,1), DAM=c(0,0,2,3)) pp_mate_finder(ped)
Run the code above in your browser using DataLab