subsetting              package:snapCGH              R Documentation

_S_u_b_s_e_t _S_e_g_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 'SegList' object.

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

     object[i, j]

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

  object: object of class 'SegList'

     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 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, modified by Mike Smith for SegList object

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

     'Extract' in the base package.

_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]

