prunePed: Subsets a pedigree for a specified vector of individuals upto...

Description Usage Arguments Value

View source: R/pedigree.R

Description

Subsets a pedigree for a specified vector of individuals upto a specified number of previous generations using Recursion.

Usage

1
prunePed(ped, selectVector, ngen = 2)

Arguments

ped

Data Frame pedigree to be subset

selectVector

Vector of individuals to select from pedigree

ngen

Number of previous generations of parents to select starting from selectVector.

Value

Returns Subsetted pedigree as a DataFrame.


pedigreeTools documentation built on May 2, 2019, 2:09 a.m.