Learn R Programming

ibdreg (version 0.2.2)

mergeIBD: Merge ibd and covariate data

Description

Merge ibd probabilities data frame and an individual's sex on pedigree id and person id

Usage

mergeIBD(ibd.dat, sex.dat)

Arguments

ibd.dat
A data frame with ped.id, person1.id, person2.id, and the estimated ibd sharing values at each chromosome position for the two people.
sex.dat
a data frame containing ped.id, person.id, and sex

Value

  • a data frame with identifiers for relative pairs, their ibd data, and the two sex codes for the pair