R/vars_functions.R
vars_theta.Rd
This function organizes higher-level information for creating variants from the population-scaled mutation rate and a desired number of variants.
vars_theta(theta, n_vars)
theta | Population-scaled mutation rate. |
---|---|
n_vars | Number of desired variants. |
A vars_theta_info
object containing information used in create_variants
to create haploid variants.
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.