unsplitS4              package:SNPchip              R Documentation

_C_o_m_b_i_n_e_s _a _l_i_s_t _w_i_t_h _e_l_e_m_e_n_t_s _t_h_a_t _a_r_e _A_n_n_o_t_a_t_e_d_S_n_p_S_e_t_s _i_n_t_o _o_n_e _A_n_n_o_t_a_t_e_d_S_n_p_S_e_t.

_D_e_s_c_r_i_p_t_i_o_n:

     After splitting an 'AnnotatedSnpSet' by chromosome, for instance,
     this function will reproduce the original object from the list.

_U_s_a_g_e:

     unsplitS4(value, featureData)

_A_r_g_u_m_e_n_t_s:

   value: Object of class 'AnnotatedSnpSet'

featureData: Object of class 'AnnotatedDataFrame'

_D_e_t_a_i_l_s:

_V_a_l_u_e:

'AnnotatedSnpSet': An object of class 'AnnoatedSnpSet'

     ...

_N_o_t_e:

_A_u_t_h_o_r(_s):

     Robert Scharpf

_R_e_f_e_r_e_n_c_e_s:

_S_e_e _A_l_s_o:

     'split', 'AnnotatedSnpSet'

_E_x_a_m_p_l_e_s:

     data(annSnpset)
     x <- split(annSnpset, chromosome(annSnpset))
     class(x)
     length(x)
     xx <- unsplitS4(x, featureData(annSnpset))
     class(xx)

