pp_mate_finder {pedSimulate}R Documentation

Find parent-progeny mates

Description

Find parent-progeny matings in the pedigree

Usage

pp_mate_finder(ped)

Arguments

ped

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

Value

pp_mates : A data.frame with two columns (SIRE, DAM) representing parent-progeny mates.

Examples

ped = data.frame(ID=1:4, SIRE=c(0,0,1,1), DAM=c(0,0,2,3))
pp_mate_finder(ped)


[Package pedSimulate version 1.4.3 Index]