trim_ped: Trim pedigree

View source: R/trim_ped.R

trim_pedR Documentation

Trim pedigree

Description

Trim pedigree

Usage

trim_ped(ped, focal)

Arguments

ped

three column pedigree: id, parent1, parent2

focal

vector of id's for the focal population

Details

Removes founders with a single child, provided the founder is not in the focal population.

Value

trimmed pedigree


jendelman/polyBreedR documentation built on Jan. 5, 2025, 12:13 a.m.