haplotype_diversity: Calculate haplotype diversity from a disclapmixfit

View source: R/proto_functions.R

haplotype_diversityR Documentation

Calculate haplotype diversity from a disclapmixfit

Description

Calculate haplotype diversity from a disclapmixfit object. The method is based on simulating a huge database that approximates the population.

Usage

haplotype_diversity(object, nsim = 10000L)

Arguments

object

a disclapmixfit object, usually from a result of a call to disclapmix.

nsim

number of haplotypes to generate for calculating the haplotype diversity.

Value

The calculated haplotype diversity.

See Also

disclapmix disclapmixfit predict.disclapmixfit print.disclapmixfit summary.disclapmixfit simulate.disclapmixfit


mikldk/disclapmix documentation built on Aug. 22, 2023, 10:56 a.m.