editSmc                package:PGSEA                R Documentation

_E_d_i_t "_s_m_c" _o_b_j_e_c_t_s

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

     This function will edit a single or list of "smc" objects.

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

     editSmc(smcList, attName = "creator", newAtt = "changed!!")

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

 smcList: a list of "smc" objects 

 attName: character - which slot to change

  newAtt: character - what to change the slot to 

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

     a list of edited "smc" objects

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

     Karl Dykema <karl.dykema@vai.org

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

             datadir <- system.file("data", package = "PGSEA")
             sample <- readGmt(file.path(datadir, "sample.gmt"))
             str(sample[1:2])
             
             temp <- editSmc(sample[1:2],"creator","Joe Smith")
             
             str(temp)

