sim_single_sample: Function which simulates inheritance for a set of genes for a...

Description Usage Arguments

View source: R/sim_single_sample.R

Description

Function which simulates inheritance for a set of genes for a single simulated person.

Usage

1
sim_single_sample(ancestor_pop_label, allele_freq_list)

Arguments

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 ancestor_pop_label.


danwkenn/SimAdmixtR documentation built on May 30, 2020, 7:25 a.m.