scanSmc {PGSEA} | R Documentation |
This function scans through smc objects and returns those with specified attributes.
scanSmc(smcList, scanSlot = "private", scanFor = "no")
smcList |
list of "smc" objects |
scanSlot |
character - which smc slot to investigate |
scanFor |
character - what character string to look for |
a list of "smc" objects with the desired attribute
Karl Dykema <karl.dykema@vai.org>
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)