cbind                 package:limma                 R Documentation

_C_o_m_b_i_n_e _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:

     Combine a series of 'RGList' objects or combine a series of
     'MAList' objects.

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

     ## S3 method for class 'RGList':
     cbind(..., deparse.level=1)
     ## S3 method for class 'RGList':
     rbind(..., deparse.level=1)

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

     ...: 'RGList' objects or 'MAList' objects

deparse.level: not currently used, see 'cbind' in the base package

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

     'cbind' combines data objects assuming the same gene lists but
     different arrays. 'rbind' combines data objects assuming
     equivalent arrays, i.e., the same RNA targets, but different
     genes.

     For 'cbind', 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. For 'rbind', the matrices of expression data are
     rbinded while the target information, in any, is unchanged.

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

     An 'RGList' or 'MAList' object holding data from all the arrays
     and all genes from the individual objects.

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

     Gordon Smyth

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

     'cbind' 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("A1","A2")
     MA1 <- new("MAList",list(M=M,A=A))

     M <- A <- matrix(21:24,4,2)
     rownames(M) <- rownames(A) <- c("a","b","c","d")
     colnames(M) <- colnames(A) <- c("B1","B2")
     MA2 <- new("MAList",list(M=M,A=A))

     cbind(MA1,MA2)

