combine_input_data {GenomeAdmixR} | R Documentation |
combine sequence data that was previously read from file into a population
Description
Create data in a format that can be used by GenomeAdmixR, entries are sampled randomly from each input data set, with replacement. Probability of sampling from each input data set is driven by the input frequencies, and total number of individuals sampled is driven by pop_size.
Usage
combine_input_data(input_data_list, frequencies = NA, pop_size)
Arguments
input_data_list |
list where each entry is the result of
|
frequencies |
frequency of each entry in the list in the starting population |
pop_size |
intended population size |
Value
the input data entries are combined to one single population that can
be used to seed simulate_admixture_data
. Output is identical to
create_input_data
[Package GenomeAdmixR version 2.1.7 Index]