Learn R Programming

diveRsity (version 1.9.89)

pwHCalc: C++ level calculation of total and sub-population heterozygosity

Description

C++ level calculation of total and sub-population heterozygosity

Usage

pwHCalc(af, sHarm, pw)

Arguments

af
af returned by internal function, statCalc
sHarm
Harmonic sample size per locus
pw
Integer matrix indicating pairwise indexes