qcPlots             package:tilingArray             R Documentation

_G_e_n_e_r_a_t_e _s_i_m_p_l_e _d_i_a_g_n_o_s_t_i_c _p_l_o_t_s _f_o_r _A_f_f_y_m_e_t_r_i_x _t_i_l_i_n_g _a_r_r_a_y _d_a_t_a

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

     Generate simple diagnostic plots for Affymetrix tiling array data

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

     qcPlots(x, html=TRUE, plotdir=NULL, probeAnno, gff, 
                         chr=4, coord=c(230000,245000),
                         nr = 2560, nc = 2560,
                         ylimchrom=c(5,16), nucleicAcid, pmindex, pgm=TRUE,
                         ext=".cel", ranks=FALSE, ...)

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

       x: ExpressionSet containing the data to be plotted.

    html: logical scalar.  If 'TRUE' an html summary page 
          'qcsummary.htm' is generated.  If 'FALSE', no summary page is
          generated.

 plotdir: optional character string specifying the filepath where the
          plots will be saved.  Defaults to current working directory.

probeAnno: environment with probe annotations. See package
          'davidTiling' for an example (?probeAnno).

     gff: data frame with genome annotation from the GFF file.

     chr: integer of length 1 indicating the chromosome number to plot.

   coord: integer vector of length 2 containing the start and end
          coordinates (in bases) for the along chromosome intensity
          plot.

      nr: integer, indicating the number of probes in each row on the
          array (2560 for yeast tiling arrays).

      nc: integer, indicating the number of probes in each column on
          the array (2560 for yeast tiling arrays).

ylimchrom: numeric vector containing the y limits of the along
          chromosome intensity plot.

nucleicAcid: character vector or factor indicating what sample has been
          hybridised to each array. Used to color the boxplots and
          smoothed histograms of intensities.

 pmindex: integer vector of indices of PM probes in 'x'.  If missing,
          this information is extracted from 'probeAnno'.

     pgm: logical scalar.  If 'TRUE', image plots will be saved as .pgm
          files.  Otherwise ('FALSE'), they are converted to jpegs. On
          windows machines, this argument should be set to 'TRUE'.

     ext: character string indicating the file extension.

   ranks: logical scalar.  If 'TRUE', imageplots will show ranks of
          standardised probe intensities.  Otherwise ('FALSE',
          default), the standardised probe intensities are plotted.

     ...: further arguments that can be passed to the plotting function
          'plotSegmentationDots'.

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

     This function creates boxplots, smoothed histogram (density)
     plots, imageplots and  along chromosome plots of the raw (log base
     2) probe intensity data.

     An html page called 'qcsummary.htm' which displays the results, is
     created when 'html=TRUE'. 

     Imageplots of standardised intensities (i.e. (probe intensity -
     minimum probe intensity) divided by the difference between the
     maximum and minimum probe intensities, all on log base 2 scale) or
     the ranks of these standardised intensities are plotted depending
     on the 'ranks' argument. 

     The individual plots are named by replacing the file extension
     (specified by 'ext') of each 'celfile.ext', with 'density.png' for
     smoothed histogram plots, 'gencoord.jpg', for along chromosome
     plots and either 'log.pgm' ('log.jpg' if 'pgm=FALSE') or
     'rank.pgm' ('rank.jpg' if 'pgm=FALSE') for the imageplots,
     depending on the 'ranks' argument.

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

     Matt Ritchie <ritchie@ebi.ac.uk> and Wolfgang Huber
     <huber@ebi.ac.uk>

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

     ## library(davidTiling)
     ## data(davidTiling)
     ## data(probeAnno)
     ## qcPlots(davidTiling, probeAnno)
      

