listToCharacterVector    package:annotationTools    R Documentation

_T_u_r_n _l_i_s_t _i_n_t_o _c_h_a_r_a_c_t_e_r _v_e_c_t_o_r

_D_e_s_c_r_i_p_t_i_o_n:

     Takes a list and returns a character vector by (separately)
     concatenating the vectors in the list.

_U_s_a_g_e:

     listToCharacterVector(lst,sep=' /// ')

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

     lst: list object

     sep: character string specifying the separator to concatenate each
          elements of vectors in the list

_D_e_t_a_i_l_s:

     The output vector has same length as the input list.

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

       v: vector of length 'length(lst)' where the 'i'-th element
          contains the concatenation of the 'i'-th element of 'lst'.

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

     Alexandre Kuhn, alexandre.kuhn@isb-sib.ch

_R_e_f_e_r_e_n_c_e_s:

_E_x_a_m_p_l_e_s:

     ##an example list
     lst<-vector('list',3)
     lst[[1]]<-c('a1','a2')
     lst[[2]]<-'b'
     lst[[3]]<-c('c1','c2','c3')
     ##merge first 2 list elements
     listToCharacterVector(lst,sep=', ')

