analysePlate              package:prada              R Documentation

_A_p_p_l_y _a _s_t_a_t_i_s_t_i_c _t_o _t_h_e _d_a_t_a _f_r_o_m _e_a_c_h _w_e_l_l _i_n _a _p_l_a_t_e

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

     Apply a statistic to the data from each well in a plate

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

     analysePlate(x, wellcol="well", wellrange, statfun, platename, plotdir=".", ...)

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

       x: data frame. It must contain a column whose name is the value
          of 'wellcol', and further columns that are needed by the
          function named by 'stat'.

 wellcol: character of length 1. Name of a column in 'x' that contains
          the well ID.

wellrange: vector of the same type as 'x[, wellcol]'. All values 'x[,
          wellcol]' must be contained in 'wellrange'.

 statfun: character of length 1. Name of a function that can calculate
          a statistic from selected rows of 'x'.

platename: character of length 1. The name or ID of this plate, which
          will be used for graphics output filenames and as the value
          of the column 'platename' of the return value.

 plotdir: character of length 1. The name of directory where diagnostic
          plots will be saved.

     ...: further arguments that are passed on to 'statfun'.

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

     The semantics of this function are similar to 'tapply', but some
     additional checking and  reporting is performed, and the return
     value is a data frame.

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

     A data frame with number of rows equal to 'length(wellrange)'.
     Rows (wells) for which there is no data contains 'NA's. The
     columns comprise 'platename', 'well-ID' (from 'x[, wellcol]'), and
     the results from statfun.

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

     Wolfgang Huber <URL: http://www.dkfz.de/abt0840/whuber>

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

     'statWellLocfit'

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

     ##see vignette

