mergeExprs             package:MergeMaid             R Documentation

_M_e_r_g_e _g_e_n_e _e_x_p_r_e_s_s_i_o_n _d_a_t_a _s_e_t_s

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

     Merges gene expression data from different studies.

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

        mergeExprs(...)

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

     ...: Input objects can be any combination of mergeExprSet,
          exprSet, matrix or a list.  A list should have the following
          slots: expression matrix, pheno data matrix,  gene names
          vector, notes.  The order of the four slots is fixed. A
          matrix should have genes ids as its row names, as should the
          exprs slot of an exprSet.  Since merging depends on geneids,
          these conventions are essential.

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

     The mergeExprSet object is the standard input for all functions in
     the MergeMaid package. Use the mergeExprs function when creating
     mergeExprSet objects to ensure that all necessary information is
     available for further analysis.

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

     The output is a mergeExprSet.

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

     'mergeExprSet-class'

_E_x_a_m_p_l_e_s:

      
       data(mergeData)
       merged  <-mergeExprs(sample1,sample2,sample3)

       rr<-rnorm(200*22,0,1)
       mm<-matrix(rr,200,22)
       rownames(mm)<-geneNames(sample2)
       merge.m<-mergeExprs(sample1,mm,sample2)
       intcor.m<-intCor(merge.m)
       plot(intcor.m)

       rr<-rnorm(200*50,0,1)
       mm2<-matrix(rr,200,50)
       ph.ll<-as.data.frame(rbinom(200,1,.5))
       ll<-list(mm2,ph.ll,geneNames(sample2),"list 2")
       merge.t<-mergeExprs(sample1,mm,sample2,ll)
       intcor.t<-intCor(merge.t)
       plot(intcor.t)

       merge.a<-mergeExprs(sample3,merge.m,ll)
       inter<-intersection(merge.a)
       summary(merge.a)
       

