theta.s.landscape {rmetasim} | R Documentation |
Calculate theta from a landscape based upon the number of seqregating sites.
theta.s.mat <- theta.s.landscape(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 <- new.example.landscape() exampleland <- sim.landscape(exampleland, 4) library(ape) theta.s.mat <- theta.s.landscape(exampleland) theta.s.mat