hap.div: Haplotype diversity

Description Usage Arguments Details Value

View source: R/hap.div.R

Description

The function returns the haplotype diversity per population.

Usage

1
hap.div(dnabin, pop)

Arguments

dnabin

object.

pop

population.

Details

The function takes an advantage of other functions from package pegas. Pegas calculates number of haplotypes and haplotype frequency. This function tries to summarize haplotype diversity by population if specified.

Value

Haplotype diversity per population


shankarkshakya/mypackage documentation built on Nov. 15, 2018, 9:51 p.m.