pops2genind {PopGenReport} | R Documentation |
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
[Package PopGenReport version 3.1 Index]