landscape.to.rtheta: Converts genetic marker data in a landscape into a format...

Description Usage Arguments Value See Also

Description

This function converts Rmetasim landscapes into a format that can be analyzed with ANOVA to calculate Weir's theta.

Usage

1
  genin <- landscape.to.rtheta(Rland,numi)

Arguments

Rland

the Rmetasim landscape object

numi

number of individuals to sample at random from each population/habitat. The default value of 0 takes all individuals in each population. CAUTION this could take a long time.

Value

A matrix with columns representing the population, class, individual, locus, allelic position, allele id.

See Also

popstruct


stranda/kernelPop2 documentation built on March 30, 2020, 5:37 a.m.