seploc            package:adegenet            R Documentation(utf8)

_S_e_p_a_r_a_t_e _d_a_t_a _p_e_r _l_o_c_u_s

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

     The function 'seploc' splits an object (genind or genpop) by
     marker, returning a list of objects whose components each
     correspond to a marker.

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

     ## S4 method for signature 'genind':
     seploc(x,truenames=TRUE,res.type=c("genind","matrix"))
     ## S4 method for signature 'genpop':
     seploc(x,truenames=TRUE,res.type=c("genpop","matrix"))

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

       x: a genind or a genpop object.

truenames: a logical indicating whether true names should be used
          (TRUE, default) instead of generic labels (FALSE).

res.type: a character indicating the type of returned results, a genind
          or genpop object (default) or a matrix of data corresponding
          to the 'tab' slot.

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

     The function 'seploc' returns an list of objects of the same class
     as the initial object, or a list of matrices similar to x$tab.

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

     Thibaut Jombart t.jombart@imperial.ac.uk

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

     'seppop', 'repool'

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

     data(microbov)

     # separate all markers
     obj <- seploc(microbov)
     names(obj)

     obj$INRA5

