scanSmc                package:PGSEA                R Documentation

_S_c_a_n _t_h_r_o_u_g_h _s_m_c _o_b_j_e_c_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function scans through smc objects and returns those with
     specified attributes.

_U_s_a_g_e:

     scanSmc(smcList, scanSlot = "private", scanFor = "no")

_A_r_g_u_m_e_n_t_s:

 smcList: list of "smc" objects 

scanSlot: character - which smc slot to investigate 

 scanFor: character - what character string to look for 

_V_a_l_u_e:

     a list of "smc" objects with the desired attribute

_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"))
     sample[1:2] <- editSmc(sample[1:2],"creator","Joe Smith")

     scanned <- scanSmc(sample,"creator","Joe Smith")

     str(scanned)

