hs_mate_finder: Find halfsib mates

View source: R/hs_mate_finder.R

hs_mate_finderR Documentation

Find halfsib mates

Description

Find halfsib matings in the pedigree

Usage

hs_mate_finder(ped)

Arguments

ped

: A pedigree data.frame. The first three columns (ID, SIRE, DAM) are used.

Value

hs_mates : A data.frame with two columns (SIRE, DAM) representing halfsib mates.

Examples

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)


pedSimulate documentation built on Sept. 26, 2023, 9:06 a.m.