chromosome2integer          package:SNPchip          R Documentation

_C_o_n_v_e_r_t_s _c_h_r_o_m_o_s_o_m_e _t_o _i_n_t_e_g_e_r _o_r _v_i_c_e _v_e_r_s_a

_D_e_s_c_r_i_p_t_i_o_n:

     Provides a standard way of converting chromosome annotation stored
     in 'SnpLevelSet' objects to the numeric class.

_U_s_a_g_e:

     chromosome2integer(chrom)
     integer2chromosome(chrom)

_A_r_g_u_m_e_n_t_s:

   chrom: chromosome

_D_e_t_a_i_l_s:

     This is useful when sorting SNPs in an object by chromosome and
     physical position - ensures that the sorting is done in the same
     way for different objects.

     The function currently provides the following conversions:

     "X" -> 23 "XY" -> 24 "Y" -> 25 "M" -> 26

_V_a_l_u_e:

     'integer' 'character'

_A_u_t_h_o_r(_s):

     R. Scharpf

