Arguments
input.filename
a character string specifying the name of the file to be
converted if local.env = FALSE
. If local.env = TRUE
, input.filename
refers
to the genotype matrix in the local environment.
type
a character string specifying the type of data to be converted to the
pcadapt
format. Supported formats are: ped
, vcf
, lfmm
.
local.env
a logical value indicating whether the input has to be read from the local
environment or from the working directory.
ploidy
an integer specifying the ploidy of the individuals.
pop.sizes
a vector specifying the number of individuals for each pool.
allele.sep
a character string specifying the type of allele separator used in VCF files. Set to "/" by default, but can
be switched to "|" otherwise.
blocksize
an integer specifying the number of markers to be processed in the mean time.