subsetting               package:limma               R Documentation

_S_u_b_s_e_t _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_s

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

     Extract a subset of an 'RGList', 'MAList' or 'MArrayLM' object.

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

     ## S3 method for class 'RGList':
     object[i, j, ...]

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

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

     i,j: elements to extract. 'i' subsets the genes or spots while 'j'
          subsets the arrays

     ...: not used

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

     'i,j' may take any values acceptable for the matrix components of
     'object'. See the Extract help entry for more details on
     subsetting matrices.

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

     An object of the same class as 'object' holding data from the
     specified subset of genes and arrays.

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

     Gordon Smyth

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

     'Extract' in the base package.

     03.ReadingData gives an overview of data input and manipulation
     functions 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("A","B")
     MA <- new("MAList",list(M=M,A=A))
     MA[1:2,]
     MA[1:2,2]
     MA[,2]

