FormatGenotypes           package:Geneland           R Documentation

_F_o_r_m_a_t_t_i_n_g _f_i_l_e _o_f _g_e_n_o_t_y_p_e _d_a_t_a.

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

     Takes genotype data as a matrix with one line per individual and
     two columns per locus, with alleles coded by integers (number of
     replications for micro-satellites data). Build a new matrix with
     alleles acodes as consecutive integer. If allele j has 7 alleles
     they will be coded as 1,2,...7.

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

     FormatGenotypes(genotypes)

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

genotypes: A matrix with one line per individual and two columns per
          locus, with alleles coded by integers

_V_a_l_u_e:

     A list with elements :  

'genotypes': 

'allele.numbers': 

     : a vector giving the number of possible alleles per locus

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

     Gilles Guillot

