compute_F2_bjmeans {poolfstat}R Documentation

compute_F2_bjmeans

Description

Compute the the block-jackknife mean of F2 values

Usage

.compute_F2_bjmeans(snpQ1, snpQ2, q1_idx, snp_bj_id, verbose)

Arguments

snpQ1

the nsnp by npop matrix of Q1 estimates

snpQ2

the nsnp by (npop*(npop-1))/2 matrix of all pairwise Q2 estimates

q1_idx

the nsnp by 2 matrix with the indexes of the Q1 needed to compute each F2

snp_bj_id

integer vector of length nsnp giving the block index of each SNP

verbose

if TRUE progression bar is printed on the terminal

Details

Compute the the block-jackknife mean of F2 values

Value

Return a vector with the block-jackknife mean estimates of the F2 values

Examples

#

[Package poolfstat version 2.2.0 Index]