has_sire: Detect if each ID has a Father/Sire in pedigree

Description Usage Arguments Value

Description

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

Usage

1
has_sire(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

boolean. TRUE if animal has a Father/Sire in the pedigree. If geno is provided, only returns TRUE if that Father/Sire has pedigree information


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