ma3x3 package:limma R Documentation _T_w_o _d_i_m_e_n_s_i_o_n_a_l _M_o_v_i_n_g _A_v_e_r_a_g_e_s _w_i_t_h _3_x_3 _W_i_n_d_o_w _D_e_s_c_r_i_p_t_i_o_n: Apply a specified function to each to each value of a matrix and its immediate neighbors. _U_s_a_g_e: ma3x3.matrix(x,FUN=mean,na.rm=TRUE,...) ma3x3.spottedarray(x,printer,FUN=mean,na.rm=TRUE,...) _A_r_g_u_m_e_n_t_s: x: numeric matrix FUN: function to apply to each window of values na.rm: logical value, should missing values be removed when applying 'FUN' ...: other arguments are passed to 'FUN' printer: list giving the printer layout, see 'PrintLayout-class' _D_e_t_a_i_l_s: For 'ma3x3.matrix', 'x' is an arbitrary function. for 'ma3x3.spotted', each column of 'x' is assumed to contain the expression values of a spotted array in standard order. The printer layout information is used to re-arrange the values of each column as a spatial matrix before applying 'ma3x3.matrix'. _V_a_l_u_e: Numeric matrix of same dimension as 'x' containing smoothed values _A_u_t_h_o_r(_s): Gordon Smyth _S_e_e _A_l_s_o: An overview of functions for background correction are given in '04.Background'. _E_x_a_m_p_l_e_s: x <- matrix(c(2,5,3,1,6,3,10,12,4,6,4,8,2,1,9,0),4,4) ma3x3.matrix(x,FUN="mean") ma3x3.matrix(x,FUN="min")