Learn R Programming

MCMCglmm (version 2.36)

prunePed: Pedigree pruning

Description

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

Usage

prunePed(pedigree, keep, make.base=FALSE)

Value

subsetted pedigree

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

make.base

logical: should ancestors that do not provide additional information be discarded?

Author

Jarrod Hadfield j.hadfield@ed.ac.uk + Michael Morrissey