GdataPed {MasterBayes} | R Documentation |
An object containing genotype data and the categories over which error rates may vary.
GdataPed(G, id = NULL, categories = NULL, perlocus=FALSE, marker.type="MS", ...)
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 |
Jarrod Hadfield j.hadfield@ed.ac.uk
data(WarblerG) GdP<-GdataPed(WarblerG)