getChipInfo               package:lumi               R Documentation

_G_e_t _I_l_l_u_m_i_n_a _C_h_i_p _I_n_f_o_r_m_a_t_i_o_n _b_a_s_e_d _o_n _p_r_o_b_e _i_d_e_n_t_i_f_i_e_r_s

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

     Retrieve the matched Illumina chip information by searching the
     provided probe identifiers through the Illumina identifiers in all
     manifest files.

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

     getChipInfo(x, lib.mapping = NULL, species = c("Human", "Mouse", "Rat", "Unknown"), chipVersion = NULL, idMapping = FALSE, returnAllMatches = FALSE, verbose = TRUE)

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

       x: a vector of probe identifiers, ExpressionSet object or a
          matrix with probe identifiers as row names 

lib.mapping: the ID mapping library. If it is provided, the parameter
          "species" will be ignored. 

 species: species of the chip designed for. If users do not know it, it
          can be set as "Unknown". 

chipVersion: chipVersion information returned by function 'getChipInfo' 

idMapping: determine whether return the idMapping information (between
          Illumina ID and nuID) 

returnAllMatches: determine whether return all matches or just the best
          match 

 verbose: determine whether print some warning information 

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

     The function searches the provided probe Identifiers (Illumina IDs
     or nuIDs) through all the manifest file ID information kept in the
     IDMapping libraries (lumiHumanIDMapping, lumiMouseIDMapping,
     lumiRatIDMapping). The Illumina IDs kept in the library include
     "Search_key" ("Search_Key"), "Target" ("ILMN_Gene"), "Accession",
     "Symbol", "ProbeId" ("Probe_Id"). To determine the best match, the
     function calculate the number of matched probes. The higher
     "matchedProbeNumber" is claimed as better. When the
     "matchedProbeNumber" is the same, the manifest file with fewer
     probes is claimed as better. If x is NULL and chipVersion is
     provided, it will return the entire mapping table of the chip.

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

     The function returns a list with following items: 

chipVersion: the file name of the manifest file for the corresponding
          version and release

 species: the species of the chip designed for

  IDType: the type of probe identifier

chipProbeNumber: the number of probes in the manifest file

matchedProbeNumber: the number of input probes matching the manifest
          file

idMapping: id mapping information between Illumina ID and nuID

     When parameter "returnAllMatches" is TRUE, the items of
     "chipVersion", "IDType", "chipProbeNumber", "inputProbeNumber",
     "matchedProbeNumber" will be a vector corresponding to the matched
     manifest files, whose "matchedProbeNumber" is larger than zero,
     and the "idMapping" will be a matrix with each column
     corresponding to one matched manifest file. All of the items are
     sorted from the best match to worst (The higher
     "matchedProbeNumber" is claimed as better. When the
     "matchedProbeNumber" is the same, the manifest file with fewer
     probes is claimed as better.).

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

     Pan Du

_S_e_e _A_l_s_o:

     'nuID2IlluminaID', 'IlluminaID2nuID'

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

             ## load example data
             data(example.lumi)
             if (require(lumiHumanIDMapping)) {
                     chipInfo <- getChipInfo(example.lumi, species='Human')
                     chipInfo
             }

