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, perlocus=FALSE, marker.type="MS", ...)

### 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.
`perlocus` | if `TRUE` different error rates are estimated for each locus
`marker.type` | "MS" or "AFLP" for codominant or dominant markers respectively
`...` | 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 2.0 Index]