SNRQualControl           package:RNAither           R Documentation

_C_o_m_p_u_t_i_n_g _t_h_e _S_N_R

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

     Computes the signal to noise ratio for all data, per experiment
     and per plate for a complete dataset file and plots histograms of
     the results.

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

     SNRQualControl(dataSetFile, nbLinesHeader, channel, noise, plotTitle, showPlot)

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

dataSetFile: a dataset file generated with 'generateDatasetFile' 

nbLinesHeader: typically 3 

 channel: a character string specifying the name of the column
          containing the values for computing the SNR, e.g.
          '"SigIntensity"' 

   noise: A character string specifying the name of the column
          containing the values for computing the SNR, e.g.
          '"Background"' 

plotTitle: the plot title 

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:

     Shows histogram plots of the SNR for the whole dataset file, per
     experiment and per plate and saves them in a pdf file. The name of
     the file will be the concatenation of the experiment name
     specified in the header and the function argument ' plotTitle'.

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

     data(exampleHeader, package="RNAither")
     data(exampleDataset, package="RNAither")
     saveDataset(header, dataset, "save_testfile1.txt")

     SNRQualControl("save_testfile1.txt", 3, "SigIntensity", "Background", "SNR", 1)

