editSmc: Edit "smc" objects

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
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

1
2
3
4
5
6
7
	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)

PGSEA documentation built on April 28, 2020, 8:28 p.m.