Merge ibd and covariate data

Share:

Description

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

Usage

1
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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.