gene2ix              package:globaltest              R Documentation

_G_e_n_e _t_o _i_n_d_e_x

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

     Gives the index numbers where genes of interest are  present on a
     chip.

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

      
     gene2ix(genes, chip, logic = FALSE) 

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

   genes: A vector of gene names of the genes of interest.

    chip: A vector of gene names present on the chip.

   logic: Determines the format of the return value. If  'FALSE', the
          function returns list of index numbers, if  'TRUE' it returns
          a logical vector as long as 'chip'.

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

     Given a list of gene names and the complete list of the  names of
     genes on a chip, the function returns the locations of  the genes
     of interest on the chip. The names must match exactly.

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

     If 'logic = FALSE' (default), a list of index numbers  is
     returned. If 'logic = TRUE'

_N_o_t_e:

     The result of 'gene2ix' can be used as input of the  test.genes
     option of the function 'globaltest'.

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

     Jelle Goeman: j.j.goeman@lumc.nl.

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

      
         my.chip = c("a", "b", "c", "d", "e")
         my.genes = c("a", "b", "f")
         ix <- gene2ix(my.genes, my.chip)
         ix
         
         ix <- gene2ix(my.genes, my.chip, logic = TRUE)
         ix

