block.map.matrix: Creates an indicator matrix for haplotype block boundaries,...

Description Usage Arguments Value Author(s) See Also

View source: R/block.map.matrix.R

Description

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.

Usage

1

Arguments

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.

Value

A matrix of logical variables. If the (i,j) entry is TRUE than SNP i and SNP j are in the same haplotype block.

Author(s)

Samuel G. Younkin

See Also

ld_lasso


ldlasso documentation built on May 30, 2017, 3:05 a.m.