Description Usage Arguments Value Author(s) See Also
View source: R/block.map.matrix.R
Simple function that maps the block boundary vector to an indicator matrix for use in the definition of constraint matrix. This matrix ensures that only within block SNP pairs are considered.
1 |
block.cood |
A vector of length p+1, where p is the number of SNPs. block.cood is an indicator vector that indicates block boundaries at all p+1 SNP bounded intervals. Use find.bounds to create this vector. |
A matrix of logical variables. If the (i,j) entry is TRUE than SNP i and SNP j are in the same haplotype block.
Samuel G. Younkin
ld_lasso
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.