old2new               package:adegenet               R Documentation

_C_o_n_v_e_r_t _o_b_j_e_c_t_s _w_i_t_h _o_b_s_o_l_e_t_e _c_l_a_s_s_e _i_n_t_o _n_e_w _o_b_j_e_c_t_s

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

     Adegenet classes changed from S3 to S4 types starting from version
     1.1-0. 'old2new' has two methods for genind and genpop objects, so
     that old adegenet objects can be retrieved and used in recent
     versions.

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

     ## S4 method for signature 'genind':
     old2new(object)
     ## S4 method for signature 'genpop':
     old2new(object)

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

  object: a genind or genpop object in S3 version, i.e. prior
          adegenet_1.1-0

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

     Optional content but '$pop' and '$pop.names' will not be
     converted. These are to be coerced into a list and set in the
     '@other' slot of the new object.

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

     Thibaut Jombart t.jombart@imperial.ac.uk

