landscape.Fst | R Documentation |
Calculate Fst for each allele at each locus in the landscape. If verb is set to TRUE, the function prints average Fst for loci and overall.
landscape.Fst(rland,verb=FALSE)
rland |
the Rmetasim landscape object |
verb |
determines whether there is verbose output |
Calculates Fst based upon the ratio of variance in allele frequency across subpopulations to the total variance in that allele's frequency. Does not calculate Wright's other statistics.
A matrix with num alleles columns and num loci rows. Each element reflects the value of Fst for that allelexlocus combination. NA is assigned to alleles that are not present at a locus (either no longer or ever)
obs.het.landscape, exp.het.landscape, FWright.landscape
exampleland <- landscape.new.example()
exampleland <- landscape.simulate(exampleland, 4)
Fst <- landscape.Fst(exampleland,verb=TRUE)
Fst
rm(exampleland,Fst)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.