GdataPed {MasterBayes}R Documentation

GdataPed Object

Description

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

Usage

GdataPed(G, id = NULL, categories = NULL, ...)

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, indivdiuals 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 vetcor 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.
... further arguments to be passed

Author(s)

Jarrod Hadfield j.hadfield@sheffield.ac.uk

See Also

MCMCped

Examples

data(WarblerG)
GdP<-GdataPed(WarblerG)

[Package MasterBayes version 1.0 Index]