block_sum {poolfstat} | R Documentation |
block_sum
Description
Sugar to compute the sum of a stat per block
Usage
.block_sum(stat, snp_bj_id)
Arguments
stat |
vector of n stat values |
snp_bj_id |
integer n-length vector with block index (from 0 to nblock-1) of the stat value |
Details
Sugar to compute the sum of a stat per block
Value
Return a vector of length nblocks containing the per-block sums of the input stat
Examples
#
[Package poolfstat version 3.0.0 Index]