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 "Y" -> 24 "XY" -> 25   "M" -> 26

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

     'integer' 'character'

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

     R. Scharpf

