get_single_geno {ALLSPICER} | R Documentation |
simulation function: simulate genotype information for one locus, where 'cnt' samples out of 'n_ind' has the mutation
get_single_geno(cnt, n_ind)
cnt |
number of individuals with the mutation |
n_ind |
total number of individuals |
A binary vector representing the genotype information of 'n_ind' individuals for a particular locus, where 'cnt' entries has value 1.
geno <- get_single_geno(cnt = 100, n_ind = 10000)