Usage
genind2genalex(gid, filename = "genalex.csv", quiet = FALSE, pop = NULL,
allstrata = TRUE, geo = FALSE, geodf = "xy", sep = ",")
Arguments
gid
a genclone
or genind
object.
filename
a string indicating the name and/or path of the file you wish
to create.
quiet
logical
If FALSE
a message will be printed to the
screen.
pop
a character vector OR formula specifying the population factor.
This can be used to specify a specific subset of strata or custom
population factor for the output. Note that the allstrata
command
has precedence over this unless the value o
allstrata
if this is TRUE
, the strata will be combined into a
single population factor in the genalex file.
geo
logical
Default is FALSE
. If it is set to
TRUE
, the resulting file will have two columns for geographic data.
geodf
character
Since the other
slot in the adegenet
object can contain many different items, you must specify the name of the
data frame in the other
slot containing your geographic coordinates.
It defaults to "xy".
sep
a character specifying what character to use to separate columns.
Defaults to ",".