View source: R/exact.ibd.var.q
exact.ibd.var | R Documentation |
create an ibd.var object from a temporary output file produced by exact.ibd.var.pl perl script, which uses exact computations from merlin
exact.ibd.var(file)
file |
a temporary output file created by exact.ibd.var.pl, a perl scripts provided in /ibdreg/perl/ in the ibdreg package |
an ibd.var object (e.g. ret) that contains the following elements for each pedigree:
ped.id |
pedigree id |
$person1.id |
vector of ids for first person in the relative pair |
person2.id |
vector of ids for second person in the relative pair |
sm |
mean vector of ibd sharing between relative pairs person1.id, person2.id |
sv |
variance-covariance matrix for ibd sharing between pairs of relative pairs |
sim.ibd.var
## 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 # R> chr1.ibd.var <- exact.ibd.var("chr1.var.tmp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.