chromosome2numeric          package:SNPchip          R Documentation

_C_o_n_v_e_r_t_s _c_h_r_o_m_o_s_o_m_e _t_o _n_u_m_e_r_i_c

_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:

     chromosome2numeric(chromosome)

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

chromosome: an object inherited from 'SnpLevelSet'

_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:

     'numeric'

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

     R. Scharpf

