Learn R Programming

MCMCglmm (version 1.06)

prunePed: Pedigree pruning

Description

Creates a subset of a pedigree by retaining the ancestors of a specified subset of individuals

Usage

prunePed(pedigree, keep)

Arguments

pedigree
pedigree with id in column 1 dam in column 2 and sire in column 3
keep
individuals in pedigree for which the ancestors should be retained

Value

  • subsetted pedigree