block.bounds: Creates a vector of haplotype block boundary basepair positions.
Description
This function takes a map vector and a block coordinate vector and
creates a vector of block boundary positions for use when plotting block
boundaries, as in plot_ldlasso.
Usage
block.bounds(map, block.cood)
Arguments
map
a vector of SNP map positions in basepairs (or kilo-basepairs)
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.