editSmc {PGSEA} | R Documentation

## Edit "smc" objects

### Description

This function will edit a single or list of "smc" objects.

### Usage

    editSmc(smcList, attName = "creator", newAtt = "changed!!")

### Arguments

`smcList` | a list of "smc" objects
`attName` | character - which slot to change
`newAtt` | character - what to change the slot to

### Value

a list of edited "smc" objects

### Author(s)

Karl Dykema <karl.dykema@vai.org

### Examples

    	datadir <- system.file("extdata", package = "PGSEA")
    	sample <- readGmt(file.path(datadir, "sample.gmt"))
    	str(sample[1:2])

    	temp <- editSmc(sample[1:2],"creator","Joe Smith")

    	str(temp)

[Package PGSEA version 1.58.0 Index]