View source: R/haps_functions.R
haps_theta | R Documentation |
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)
theta |
Population-scaled mutation rate. |
n_haps |
Number of desired haplotypes. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.