dim                  package:limma                  R Documentation

_R_e_t_r_i_e_v_e _t_h_e _D_i_m_e_n_s_i_o_n_s _o_f _a_n _R_G_L_i_s_t, _M_A_L_i_s_t _o_r _M_A_r_r_a_y_L_M _O_b_j_e_c_t

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

     Retreive the number of rows (genes) and columns (arrays) for an
     RGList, MAList or MArrayLM object.

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

     ## S3 method for class 'RGList':
     dim(x)

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

       x: an object of class 'RGList', 'MAList' or 'MArrayLM'

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

     The matrices of expression data from the individual objects are
     cbinded. The data.frames of target information, if they exist, are
     rbinded. The combined data object will preserve any additional
     components or attributes found in the first object to be combined.

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

     Numeric vector of length 2. The first element is the number of
     rows (genes) and the second is the number of columns (arrays).

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

     Gordon Smyth

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

     'dim' in the base package.

     2.Classes gives an overview of data classes used in LIMMA.

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

     M <- A <- matrix(11:14,4,2)
     rownames(M) <- rownames(A) <- c("a","b","c","d")
     colnames(M) <- colnames(A) <- c("A1","A2")
     MA <- new("MAList",list(M=M,A=A))
     dim(M)

