plotBar               package:RNAither               R Documentation

_P_l_o_t _s_i_g_n_a_l _i_n_t_e_n_s_i_t_i_e_s _p_e_r _w_e_l_l

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

     Plots signal intensity values for each well, a blue line showing
     the median, two green lines showing one median absolute deviation,
     two red lines showing two median absolute deviations.

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

     plotBar(header, dataset, col4val, flag, plotTitle, 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' 

 col4val: a character string specifying the column whose intensity
          values will be used for the plot 

    flag: 0, 1, or 2. 0 uses the data from the complete dataset, 1
          generates one plot for each experiment, 2 generates one plot
          for each plate. 

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:

     Saves the plots in pdf and png files named after the experiment
     name specified in the header concatenated with the ' plotTitle'
     and if applicable the experiment number and/or the plate number.

     When 'flag' == 0, returns the plot name ('plotName'). 

     When 'flag' == 1, returns a list containing: 

plotName : The plot name 

minOfScreens: The number of the first experiment 

numOfScreens: The number of the last experiment 

     When 'flag' == 2, returns a list containing: the plot name, a
     vector with the number of the first experiment and of the last
     experiment, and a vector with the number of the first plate and
     the number of the last plate.

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

     'ZScorePlot', 'ZScorePlotTwo'

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

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

     plotname <- plotBar(header, dataset, "SigIntensity", 0, "Data per well", 1)

