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.
a vector of SNP map positions in basepairs (or kilo-basepairs)
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 vector of block boundary positions in basepairs
Samuel G. Younkin
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.