extractA: Allele Frequencies

Description Usage Arguments Value Author(s) See Also Examples

Description

extracts allele frequencies from genotype data

Usage

1
extractA(G, marker.type="MSW")

Arguments

G

data frame or list of genotype objects

marker.type

"MSW" or "MSC" for co-dominant markers with Wang's (2004) model of genotyping error or CERVUS's model of genotyping error (Marshall, 1998) or "AFLP" for dominant markers.

Value

list of allele frequnecies at each loci

Author(s)

Jarrod Hadfield [email protected]

See Also

genotype.list, genotype

Examples

1
2
3
4
5
6
7
## Not run: 
  data(WarblerG)

  A<-extractA(WarblerG)
  A[[1]]

## End(Not run)

MasterBayes documentation built on July 30, 2017, 1:01 a.m.