Description Usage Arguments Details Value Examples
Matrix containing linkage disequilibrium between marker pairs on paternal gametes is set up from sire haplotypes and genetic-map information for each half-sib family.
1 |
inMat |
[MATRIX] Haplotype matrix for sires for all chromosomes. |
pos_chr |
[LIST] The marker positions in Morgan on chromosomes. |
family |
[VECTOR] Which family (sire) should be processed? Vector with consecutive entries of the form 1:2, 3:4, 5:6 and so on, linking to haplotypes (rows in inMat) of the corresponding sire |
map_fun |
["haldane" or "kosambi"] The mapping function applied. |
The function generates a block diagonal sparse matrix based on Matrix::bdiag. Use as.matrix() to obtain a regular one.
Ds
Ds
(p x p) matrix of paternal LD
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.