GdataPed: GdataPed Object

Description Usage Arguments Author(s) References See Also Examples

View source: R/PedClasses.R

Description

An object containing genotype data and the categories over which error rates may vary.

Usage

1
GdataPed(G, id = NULL, categories = NULL, perlocus=FALSE, marker.type="MSW")

Arguments

G

a list of genotype objects for each locus, or a data.frame to be coerced using genotype.list

id

a vector of individual identifiers associated with each genotype, individuals can have more than one observed genotype. If G is a data.frame to be coerced and has a column name id, this will be used.

categories

an optional vector indicating subsets of genotypes that have different error rates. If G is a data.frame to be coerced and has a column name categories, this will be used.

perlocus

if TRUE different error rates are estimated for each 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).

Author(s)

Jarrod Hadfield [email protected]

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

MCMCped

Examples

1
2
3
4
5
## Not run: 
data(WarblerG)
GdP<-GdataPed(WarblerG)

## End(Not run)

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