filterpedigree {AGHmatrix}R Documentation

Filter the pedigree to keep only the genealogy of a subset of individuals

Description

Filter the pedigree to keep only the genealogy of a subset of individuals

Usage

filterpedigree(inds, data)

Arguments

inds

vector with strings of individuals to keep their genealogy in the matrix

data

name of the pedigree data frame. Default=NULL.

Value

a data frame with pedigree containing the genealogy of the selected individuals

Author(s)

Rodrigo R Amadeu, rramadeu@gmail.com

Examples

data(ped.sol)
new.ped.sol = filterpedigree(inds = c("MSW168-2","W14090-3","W14090-4"),data=ped.sol)


[Package AGHmatrix version 2.1.4 Index]