exact.ibd.var: create an ibd.var object

Description Usage Arguments Value See Also Examples

View source: R/exact.ibd.var.q

Description

create an ibd.var object from a temporary output file produced by exact.ibd.var.pl perl script, which uses exact computations from merlin

Usage

1

Arguments

file

a temporary output file created by exact.ibd.var.pl, a perl scripts provided in /ibdreg/perl/ in the ibdreg package

Value

an ibd.var object (e.g. ret) that contains the following elements for each pedigree: <pre> ret\$ped.id: pedigree id

ret\$person1.id: vector of ids for first person in the relative pair

ret\$person2.id: vector of ids for second person in the relative pair

ret\$sm: mean vector of ibd sharing between relative pairs {person1.id, person2.id}

ret\$sv: variance-covariance matrix for ibd sharing between pairs of relative pairs. </pre

See Also

sim.ibd.var

Examples

1
2
3
4
5
6
7
## create a temporary file using perl script

# unix% exact.ibd.var.pl chrom1.pre 1 chr1.var.tmp

## make an ibd.var object from chr1.var.tmp file

# RorS> chr1.ibd.var <- exact.ibd.var("chr1.var.tmp")

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

Related to exact.ibd.var in ibdreg...