ma2D                 package:marray                 R Documentation

_S_t_r_a_t_i_f_i_e_d _b_i_v_a_r_i_a_t_e _r_o_b_u_s_t _l_o_c_a_l _r_e_g_r_e_s_s_i_o_n

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

     This function performs robust local regression of a variable 'z'
     on predictor variables 'x' and 'y', separately within values of a
     fourth variable 'g'. It is used by 'maNorm2D' for 2D spatial
     location normalization.

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

     ma2D(x, y, z, g, w=NULL, subset=TRUE, span=0.4, ...)

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

       x: A numeric vector of predictor variables.

       y: A numeric vector of predictor variables.

       z: A numeric vector of responses.

       g: Variables used to stratify the data.

       w: An optional numeric vector of weights.

  subset: A "logical" or "numeric" vector indicating the subset of
          points used to compute the fits. 

    span: The argument 'span' which controls the degree of smoothing in
          the  'loess' function.

     ...: Misc arguments

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

     'z' is regressed on 'x' and 'y', separately within values of 'g'
     using the 'loess' function.

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

     A numeric vector of fitted values.

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

     Sandrine Dudoit, <URL: http://www.stat.berkeley.edu/~sandrine>.

_R_e_f_e_r_e_n_c_e_s:

     S. Dudoit and Y. H. Yang. (2002). Bioconductor R packages for
     exploratory analysis and normalization of cDNA microarray data. In
     G. Parmigiani, E. S. Garrett, R. A. Irizarry and S. L. Zeger,
     editors, _The Analysis of Gene Expression Data: Methods and
     Software_, Springer, New York.

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

     'maNormMain', 'maNorm2D', 'loess'.

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

     # See examples for maNormMain.

