pp_mate_finder: Find parent-progeny mates

View source: R/pp_mate_finder.R

pp_mate_finderR 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)


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