| block_sum2 | R Documentation | 
Sugar to compute the sum of a stat per block defined by a range of SNPs (allow treating overlapping blocks)
.block_sum2(stat, snp_bj_id)
stat | 
 vector of n stat values  | 
snp_bj_id | 
 integer matrix of dim nblocks x 2 giving for each block the start and end stat value index  | 
Sugar to compute the sum of a stat per block defined by a range of SNPs (allow treating overlapping blocks)
Return a vector of length nblocks containing the per-block sums of the input stat
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.