Genetic locus utilities       package:rmetasim       R Documentation

_P_r_o_v_i_d_e_s _c_o_n_v_e_n_i_e_n_t _s_u_m_m_a_r_y_s _o_f _l_o_c_u_s _c_h_a_r_a_c_t_e_r_i_s_t_i_c_s

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

     return a vector of information about loci

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

       locusvec(Rland)
       ploidy(Rland)

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

   Rland: the Rmetasim landscape object

_D_e_t_a_i_l_s:

     'locusvec()' returns a vector that gives the numeric locus ids for
     the columns in the 'rland$individuals' matrix. 'ploidy()' returns
     a vector that gives the ploidy of each locus.

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

     vector

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

       exampleland <- new.example.landscape()
       exampleland <- simulate.landscape(exampleland, 4)
       locusvec(exampleland)
       ploidy(exampleland)

