polyIn(infile = NULL, pairwise = FALSE, para = FALSE)
AABA, AAAA, ... ABAB
etc. for a tetraploid or ABA, AAA, ... ABB
etc. for a triploid. The overall structure of the input file should be that of a genepop file.para = TRUE
, all available system CPUs will be used.pairwise = TRUE
, a list of pairwise matrices for each locus is returned. These list elements are named as per loci names in infile
to allow simple indexing for loci of interest. If pairwise = FALSE
and named numeric vector is returned.