pops2genind: Function converts pops to a genind object

View source: R/popdynfun.r

pops2genindR 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


PopGenReport documentation built on Oct. 11, 2023, 9:07 a.m.