Learn R Programming

pedSimulate (version 1.4.0)

fs_mate_finder: Find fullsib mates

Description

Find fullsib matings in the pedigree

Usage

fs_mate_finder(ped)

Value

fs_mates : A data.frame with two columns (SIRE, DAM) representing fullsib mates.

Arguments

ped

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

Examples

Run this code
ped = data.frame(ID=1:7, SIRE=c(0,0,1,0,3,3,5), DAM=c(0,0,0,2,4,4,6))
fs_mate_finder(ped)

Run the code above in your browser using DataLab