View source: R/sim_single_sample.R
Function which simulates inheritance for a set of genes for a single simulated person.
1 | sim_single_sample(ancestor_pop_label, allele_freq_list)
|
ancestor_pop_label |
A vector of integers giving the highest level of the family tree, which consists only of ancestors from pure genetic populations. Integers index the population, with order given by the order in which the population dominant allele frequencies are provided in the input allele frequencies file. |
allele_freq_list |
A list of allele frequencies for the ancestor populations. The upper level must be SNP, and the lower level corresponds to population frequencies in order of the population indexes in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.