ibd.df.merlin: Create and return a data.frame with ibd data from merlin

View source: R/ibd.df.merlin.q

ibd.df.merlinR Documentation

Create and return a data.frame with ibd data from merlin

Description

Create and return a dataframe of ped.id, person1.id, person2.id, and ibd information from merlin

Usage

ibd.df.merlin(ibd.dat)

Arguments

ibd.dat

data.frame with posterior IBD data from Merlin, with column names: FAMILY, ID1, ID2, MARKER

Value

The returned data.frame, call it df, with the following elements:

ped.id

pedigree id

person1.id

person 1 of a relative pair

person2.id

person 2 identifier of a relative pair within a pedigree

post0

matrix objects that can be referenced from df. Each

post1

is a matrix with posterior ibd sharing probabilities for

post2

relative pairs (rows) at each chromosome position (columns)


ibdreg documentation built on Nov. 16, 2022, 5:14 p.m.