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


green-striped-gecko/PopGenReport documentation built on Oct. 15, 2023, 6:22 a.m.