getProbesetsFromRegionOfInterestpackage:GeneRegionScanR Documentation

_G_e_t _P_r_o_b_e_s_e_t _I_D_s _F_r_o_m _R_e_g_i_o_n _O_f _I_n_t_e_r_e_s_t

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

     Function that return the probesets located within a given region
     of the genome.

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

         getProbesetsFromRegionOfInterest(annotation, chromosome, start, end, pythonPath=NULL, transcriptClustersFile=NULL, mpsToPsFile=NULL)

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

annotation: A characther string giving the type of array for which
          probesets are needed. Will be used to load the .db file from
          bioconductor. Optional if mps to ps and transcript cluster
          file is given.

chromosome: The chromosome of interest. Should be given as a character
          string of the type "Chr1", "Chr2", "ChrY".

   start: A character string with the start location of interest in the
          chromosome.

     end: A character string with the end location of interest in the
          chromosome.

pythonPath: Optional character string with the path for Python
          software. This is only needed for exon arrays. If Python is
          in path this will be recognised automatically. Python can be
          downloaded from http://www.python.org.

transcriptClustersFile: The location of a transcript cluster file such
          as HuEx-1_0-st-v2.na26.hg18.transcript.csv. These can be
          downloaded from http://www.affymetrix.com.

mpsToPsFile: The location of a transcript cluster file such as
          HuEx-1_0-st-v2.r2.dt1.hg18.full.mps. These can be downloaded
          from http://www.affymetrix.com. Best to use the "full" type
          file.

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

     While working with 3'IVT type affymetrix arrays, for which .db
     files exist within the bioconductor environment, this  function
     works in a pretty simple way. However if exon arrays are used, it
     will change to parsing the relevant library files from the
     http://www.affymetrix.com website using a python script.
     Admittedly this is not optional from an R-only point-of-view, but
     it works and its fast. The function will be updated when more
     R-centric ways of parsing exon array  annotation data is
     available. 

     Alternatively this data can just as well be retrieved from the
     web, but in some cases this function is faster an easier.

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

     A list of all probesets found in the given range on the given
     chromosome.

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

     Lasse Folkersen

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

     'getLocalProbeIntensities', 'getMetaprobesetsFromRegionOfInterest'

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

             ## Not run: 
             #must supply mpsToPsFile and transcriptClustersFile for this to work
             probesets<-getProbesetsFromRegionOfInterest("notusedhere", chromosome=2, start="215889955", end="216106710", transcriptClustersFile=transcriptClustersFile, mpsToPsFile=mpsToPsFile)
             
     ## End(Not run)

