GdataPed             package:MasterBayes             R Documentation

_G_d_a_t_a_P_e_d _O_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

       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

_A_u_t_h_o_r(_s):

     Jarrod Hadfield j.hadfield@sheffield.ac.uk

_S_e_e _A_l_s_o:

     'MCMCped'

_E_x_a_m_p_l_e_s:

     data(WarblerG)
     GdP<-GdataPed(WarblerG)

