plotControlHistoPerscreen      package:RNAither      R Documentation

_P_l_o_t _a _h_i_s_t_o_g_r_a_m _o_f _t_h_e _d_a_t_a _v_a_l_u_e_s _a_n_d _c_o_n_t_r_o_l_s _p_e_r _e_x_p_e_r_i_m_e_n_t

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

     Plots and saves a histogram of data values per experiment and
     shows the controls, if available, in color.

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

     plotControlHistoPerscreen(header, dataset, channel, plotTitle, plotDesign, showPlot)

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

  header: the header of a dataset file generated with
          'generateDatasetFile' 

 dataset: an R data frame generated with 'generateDatasetFile' 

 channel: a character string specifying the name of the column
          containing the values to be plotted, e.g. ' "SigIntensity"' 

plotTitle: the plot title 

plotDesign: 1 or 2. 1 will generate one window containing all plots, 2
          will generate a series of plots. 

showPlot: 0 or 1. 1 will open one or several plot windows in the R GUI,
          0 will only save the plot(s) without opening windows. 

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

     Saves the histograms in a pdf and a png file named after the
     experiment name specified in the header concatenated with the '
     plotTitle'.

     Positive controls are plotted in green, negative controls in red.

     The function returns a list containing:

histoName : the plotname

minOfScreens : the number of the first experiment

numOfScreens : the number of the last experiment

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

     'plotControlHisto','plotControlHistoPerplate'

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

     data(exampleHeader, package="RNAither")
     data(exampleDataset, package="RNAither")

     plotControlHistoPerscreen(header, dataset, "SigIntensity", "Distribution of Data and Controls", 1, 1)

