landscape.allelecount: Calculate allele numbers (frequency in the statistical sense)...

View source: R/diversity.R

landscape.allelecountR Documentation

Calculate allele numbers (frequency in the statistical sense) at each locus in each population

Description

Calculate allele counts

Usage

  landscape.allelecount(Rland, tbl.out=FALSE)

Arguments

Rland

the Rmetasim landscape object

tbl.out

Create a table rather than data.frame output

Value

Depends on the value of tbl.out. See above.

See Also

landscape.allelefreq, landscape.obs.het, landscape.exp.het, landscape.Fwright, landscape.Fst

Examples

  exampleland <- landscape.new.example()
  exampleland <- landscape.simulate(exampleland, 4)
  landscape.allelefreq(exampleland,tbl.out=TRUE)
  landscape.allelefreq(exampleland,tbl.out=FALSE)
  rm(exampleland)

stranda/rmetasim documentation built on Aug. 25, 2023, 12:22 p.m.