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)

