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