# NOT RUN {
# Default is uniform with range between 0.01 and 0.5
p_anc <- draw_p_anc(m_loci = 10)
# Use of `beta` triggers a symmetric Beta distribution.
# This parameter has increased density for rare minor allele frequencies,
# resembling the 1000 Genomes allele frequency distribution
p_anc <- draw_p_anc(m_loci = 10, beta = 0.03)
# }
Run the code above in your browser using DataLab