sim.genot: Simulates genotypes in an island model at equilibrium
Description
Simulates genotypes from several individuals in several populations at several loci in an island model at equilibrium. The islands may differ in size and inbreeding coeeficients.
The number of individuals to sample per population
nbal
The maximum number of alleles present at a locus
nbloc
The number of loci to simulate
nbpop
The number of populations to simulate
N
The population sizes for each island
mig
the proportion of migration among islands
mut
The loci mutation rate
f
the inbreeding coefficient for each island
Value
a data frame with nbpop*size lines and nbloc+1 columns. Individuals are in rows and genotypes in columns, the first column being the population identifier