attachMask-methods            package:xps            R Documentation

_A_t_t_a_c_h/_R_e_m_o_v_e _S_c_h_e_m_e _M_a_s_k

_D_e_s_c_r_i_p_t_i_o_n:

     Attach/remove scheme mask to/from 'SchemeTreeSet' or to slot
     'scheme' of 'DataTreeSet'.

_U_s_a_g_e:

     attachMask(object)

     removeMask(object)

_A_r_g_u_m_e_n_t_s:

  object: Object of class '"SchemeTreeSet"' or '"DataTreeSet"'.

_D_e_t_a_i_l_s:

     'attachMask' exports mask from scheme tree from 'ROOT' scheme file
     and and saves mask as data.frame 'mask' of slot 'scheme'.

     'removeMask' removes mask from 'SchemeTreeSet' or from slot
     'scheme' of 'DataTreeSet' and replaces data.frame 'mask' with an
     empty data.frame of dim(0,0).

_V_a_l_u_e:

     A 'DataTreeSet' object or 'SchemeTreeSet'.

_N_o_t_e:

     Do not use 'attachMask' unless you know that your computer has
     sufficient RAM, especially for exon array schemes.

_A_u_t_h_o_r(_s):

     Christian Stratowa

_S_e_e _A_l_s_o:

     'import.expr.scheme', 'import.exon.scheme'

_E_x_a_m_p_l_e_s:

     ## load existing ROOT scheme file
     scheme.test3 <- root.scheme(paste(.path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
     dim(chipMask(scheme.test3))

     scheme.test3 <- attachMask(scheme.test3)
     dim(chipMask(scheme.test3))
     head(chipMask(scheme.test3))

     scheme.test3 <- removeMask(scheme.test3)
     dim(chipMask(scheme.test3))

