landscape.allelefreq | R Documentation |
Calculate allele frequencies
hetmat <- landscape.allelefreq(rland,tbl.out=F)
rland |
the Rmetasim landscape object |
tbl.out |
return as a (three-dimensional) table if TRUE. If FALSE, return as a dataframe with categorical variables denoting the locus, population and allele. |
Depends on the value of tbl.out. See above.
landscape.obs.het, landscape.exp.het, landscape.Fwright, landscape.Fst
# exampleland <- landscape.new.example() # exampleland <- landscape.simulate(exampleland, 4) # landscape.allelefreq(exampleland,tbl.out=TRUE) # landscape.allelefreq(exampleland,tbl.out=FALSE) # rm(exampleland)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.