filterpedigree: Filter the pedigree to keep only the genealogy of a subset of...

View source: R/filterpedigree.R

filterpedigreeR 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)


AGHmatrix documentation built on Oct. 4, 2023, 1:07 a.m.