landscape.theta.s {kernelPop} | R Documentation |
Calculate theta from a landscape based upon the number of seqregating sites.
theta.s.mat <- landscape.theta.s(rland)
rland |
the Rmetasim landscape object |
Uses routines in the package 'ape'
A matrix with num loci columns and num populations rows. Each element reflects the estimated theta for that population x locus combination
theta.k.landscape, theta.h.landscape
# exampleland <- landscape.new.example() # exampleland <- landscape.simulate(exampleland, 4) # theta.s.mat <- landscape.theta.s(exampleland) # theta.s.mat