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.

     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("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)

