splitName               package:limma               R Documentation

_S_p_l_i_t _C_o_m_p_o_s_i_t_e _G_e_n_e _N_a_m_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Split composite gene names into short names and gene annotation
     strings.

_U_s_a_g_e:

     splitName(x, split=";", extended=TRUE)

_A_r_g_u_m_e_n_t_s:

       x: character vector

   split: character to split each element of vector on, see 'strsplit'

extended: logical.  If 'TRUE', extended regular expression matching is
          used, see 'strsplit'.

_D_e_t_a_i_l_s:

     Gene names are assumed to comprise a short name or identifier
     followed by more detailed annotation information.

_V_a_l_u_e:

     A list containing components 

    Name: character vector of the same length as 'x' contain first
          splits of each element

Annotation: character vector of the same length as 'x' contain second
          splits of each element

_A_u_t_h_o_r(_s):

     Gordon Smyth

_S_e_e _A_l_s_o:

     'strsplit'.

     An overview of LIMMA functions for reading data is given in
     3.ReadingData.

_E_x_a_m_p_l_e_s:

     x <- c("AA196000;actinin, alpha 3",
     "AA464163;acyl-Coenzyme A dehydrogenase, very long chain",
     "3E7;W15277;No Annotation")
     splitName(x)

