This function organizes higher-level information for creating haplotypes from the population-scaled mutation rate and a desired number of haplotypes.

haps_theta(theta, n_haps)

Arguments

theta

Population-scaled mutation rate.

n_haps

Number of desired haplotypes.

Value

A haps_theta_info object containing information used in create_haplotypes

to create variant haplotypes. This class is just a wrapper around a list containing the phylogenetic tree and theta parameter, which you can view (but not change) using the object's phylo() and theta() methods, respectively.