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

Description Usage Arguments Value

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

Description

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

Usage

1
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:

df\$ped.id: pedigree id

df\$person1.id: df\$person2.id: identifiers for the relative pair within a pedigree

df\$post0: matrix objects that can be referenced from df. Each df\$post1: is a matrix with posterior ibd sharing probabilities for df\$post2: relative pairs (rows) at each chromosome position (columns)


ibdreg documentation built on May 30, 2017, 5:27 a.m.

Related to ibd.df.merlin in ibdreg...