Skip to contents

Simulate allele frequencies

Usage

simulate_allele_frequencies(alpha, num_loci)

Arguments

alpha

vector parameter controlling the Dirichlet distribution

num_loci

total number of loci to draw

Details

Simulate allele frequency vectors as a draw from a Dirichlet distribution