subsetting               package:limma               R Documentation

_S_u_b_s_e_t _R_G_L_i_s_t _o_r _M_A_L_i_s_t _O_b_j_e_c_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     Extract a subset of an 'RGList' or 'MAList' objects.

_U_s_a_g_e:

     object[i, j]

_A_r_g_u_m_e_n_t_s:

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

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

_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 'RGList' or 'MAList' 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.

     3.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]

