new has a method for building genpop objects.
See the class description of genpop for more information on this data structure.
The functions genpop and as.genpop are aliases for new("genpop", ...).
"initialize"(.Object, tab, prevcall = NULL, ploidy = 2L, type = c("codom", "PA"), ...)
genpop(...)
as.genpop(...)genind2genpop.
df2genind and related functions for reading raw allele data