Description Usage Arguments Value Examples
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.
1 | ibdhap.make.true( true.filename )
|
true.filename |
The filename of the true pairwise ibd states from, for example, outfifteenibd.txt or outnineibd.txt |
An R matrix data structure with a column for each pairwise comparison in the input file. The pair names are thrown away.
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 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.