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)

