ibdhap.make.true: ibdhap make true states

Description Usage Arguments Value Examples

Description

This function reads ibd_haplo output of true (simulated) ibd states into an R matrix data structure. The true states are compared to the state calls.

Usage

1
ibdhap.make.true( true.filename )

Arguments

true.filename

The filename of the true pairwise ibd states from, for example, outfifteenibd.txt or outnineibd.txt

Value

An R matrix data structure with a column for each pairwise comparison in the input file. The pair names are thrown away.

Examples

1
2
3
4
5
## For an existing file called "outfifteenibd.txt" use
## ibdhap.make.true( "outfifteenibd.txt" )

## An example of a data set already read into R is
## data( trueibd_phased )

IBDhaploRtools documentation built on May 2, 2019, 2:46 p.m.