genotype.list: Genotype Objects for all Loci

Description Usage Arguments Value Author(s) References See Also Examples

Description

Creates a list of genotype objects from a matrix or data.frame of multilocus genotypes.

Usage

1
genotype.list(G, marker.type="MSW")

Arguments

G

matrix or data.frame of multilocus genotypes with individuals down the rows and loci across columns. Adjacent columns are taken to be the same locus

marker.type

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

Value

list of genotype objects for all loci

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

References

Marshall, T. C. et al (1998) Molecular Ecology 7 5 639-655 Kalinowski S.T. et al (2007) Molecular Ecology 16 5 1099-1106 Hadfield J. D. et al (2009) in prep

See Also

genotype

Examples

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

  G<-genotype.list(WarblerG[,-1])
  summary(G[[1]])

## End(Not run)

MasterBayes documentation built on July 2, 2020, 2:11 a.m.