powered by
simulation function: simulate genotype information for a set of loci with allele counts `AC`
get_geno_mat(AC, n_ind)
An `n_ind`x`m` matrix of genotype information of `n_ind` individuals and `m` variants
allele counts of loci (length `m`)
total number of indicitions
geno_mat <- get_geno_mat(AC = c(20, 50, 10, 1, 5), n_ind = 10000)
Run the code above in your browser using DataLab