Rdocumentation
powered by
Learn R Programming
PopGenReport (version 2.2.2)
pops2genind: Function converts pops to a genind object
Description
converts pops into genind (to calculate Fst etc.)
Usage
pops2genind(x, locs = NULL, n.cov = 3)
Arguments
x
pops object (a list of pop)
locs
named coordinates of locations
n.cov
number of covariates (defaults to 3)
Value
a spatial genind object