sumChannels             package:RNAither             R Documentation

_S_u_m_m_a_r_i_z_e _c_h_a_n_n_e_l_s

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

     Summarizes two channels, for example by computing their ratio.

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

     sumChannels(header, dataset, funName, colname4ch1, colname4ch2)

_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' 

 funName: the function used to summarize the two channels, for example
          'divideChannels' 

colname4ch1: a character string specifying the name of the dataset
          column containing the first channel 

colname4ch2: a character string specifying the name of the dataset
          column containing the second channel 

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

     The original dataset columns are saved as extra columns with the
     suffix ' ".old"' by the function ' saveOldIntensityColumns'.

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

     A list containing:

 header : the header with an entry about the channel summarization
          added in the comments section

newDataset : the new dataset

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

     'eraseDataSetColumn', 'divideChannels', 'saveOldIntensityColumns'

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

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

     newdataset=sumChannels(header, dataset, divideChannels, "SigIntensity", "NbCells")

