neighborGeneFinder         package:annotate         R Documentation

_A _w_i_d_g_e_t _f_o_r _l_o_c_a_t_i_n_g _g_e_n_e_s _n_e_i_g_h_b_o_r_i_n_g _a _t_a_r_g_e_t _g_e_n_e

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

     Given a set of data (matrix) with entries for LocusLink or UniGene
     ids, the neighboring genes of a gene selected from a list on the
     interface can be located.

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

     neighborGeneFinder(geneData, keyName = c("unigene", "locuslink"),
     organism = c("human", "mouse", "rat")) 

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

geneData: 'geneData' a matrix with columns named. The name for one of
          the columns has to be either "locuslink" or "unigene"

 keyName: 'keyName' a character string for the name of the key columns
          of 'geneData'. Has to be either "locuslink" or "unigene"

organism: 'organism' a character string for the name of the organism of
          interest. Has to be "human", "mouse", or "rat"

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

     Bioconductor's data package XXXCHRLLOC has to be instatlled for
     the widget to work. If 'keyName' is "unigene", XXXLLMappings is
     required, where XXX is the name of the organism of interest.

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

     This function returns a list of lists. Elements of the top level
     list are either LocusLink or UniGene ids. A sublist is inturn a
     list of lists whose top level elements are chromosome numbers,
     each of which is a list with an "upstream" and "downstream"
     elements.

_N_o_t_e:

     This function is part of the Bioconductor project at Dana-Farber
     Cancer Institute to provide Bioinformatics functionalities through
     R

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

     Jianhua Zhang

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

       if(interactive()){
          require("annotate", character.only = TRUE) ||
          stop("Package annotate is not availble")
          geneData <- cbind(paste("100", 1:16, "_at", sep = ""), c(1, 50,
                            10044, 51, 71, 51371, 81, 51426, 188, 293, 360,
                            364, 375, 387, 513, 10572))
          colnames(geneData) <- c("Probe", "locuslink")
          neighborGeneFinder(geneData, "locuslink", "human")
       }
       

