Walks along a vector of genomic locations and swiches between two states that represent IBD and non-IBD using a Markov model. The parameters that dictate the chance of switching state at any point include the average level of relatedness (f
), the physical distance between loci in units of base pairs (from pos
), and the recombination rate (rho
), which is assumed constant over all loci.
1 | simIBD(f, k, rho, pos)
|
f |
the average relatedness between the two samples |
k |
the number of generations separating the two lineages |
rho |
the recombination rate. TODO - units of this parameter |
pos |
the genomic positions of the sites of interest |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.