statWell                package:prada                R Documentation

_C_a_l_c_u_l_a_t_e _a _s_t_a_t_i_s_t_i_c _f_o_r _t_h_e _d_a_t_a _f_r_o_m _o_n_e _w_e_l_l

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

     Calculate a statistic for the data from one well

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

     statWellLocfit(x, span,
       plotwhat="nothing", plotdir=".", plotfile, ...)

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

       x: data.frame with (at least) columns 'brdu', 'trsf', 'dapi',
          'Field', and 'cloneId'.

    span: numeric. Is used as the parameter of 'alpha' in the call to
          the function 'locfit'.

plotwhat: character of length 1. Allowed values are 'nothing',
          'screen', 'figscp', 'mkpp'. The parameter is used to control
          the number and format of the diagnostic plots that are
          produced as a side effect of this function.

 plotdir: character of length 1. The name of directory where diagnostic
          plots will be saved (only relevant if 'plotwhat' is 'figscp'
          or 'mkpp').

plotfile: character. The file name root for the file with the
          diagnostic plot (only relevant if 'plotwhat' is 'figscp' or
          'mkpp'). If missing, a default name is generated.

     ...: Further arguments that are passed on to 'plot'.

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

     The function fits a local regression model to the data. For
     details, please see the paper.

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

     A list with elements 'cloneId', 'nrcells', 'trsfeff', 'delta',
     'se.delta', 'zscore', 'plotfile'.

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

     Wolfgang Huber <URL: http://www.ebi.ac.uk/huber>

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

     ##see vignette

