has_progeny: Detect if each ID has progeny in pedigree and how many.

Description Usage Arguments Value

Description

Genotyping data can also be provided to know whether an available sire has genotyping data available

Usage

1
has_progeny(id, ped, geno = NULL)

Arguments

id

character naming ID of interest

ped

data.frame consisting of pedigree information with columns ID, Sire, Dam in that order

geno

matrix of SNP array data

Value

integer indicating how many progeny the id of interest has, either in the provided pedigree or in the pedgree with genotyping data. If none found, returns NA.


funkhou9/breedTools documentation built on May 16, 2019, 4:04 p.m.