scanSmc {PGSEA}R Documentation

Scan through smc objects

Description

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

Usage

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

Arguments

smcList list of "smc" objects
scanSlot character - which smc slot to investigate
scanFor character - what character string to look for

Value

a list of "smc" objects with the desired attribute

Author(s)

Karl Dykema <karl.dykema@vai.org>

Examples


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)


[Package PGSEA version 1.6.0 Index]