editSmc {PGSEA} | R Documentation |
This function will edit a single or list of "smc" objects.
editSmc(smcList, attName = "creator", newAtt = "changed!!")
smcList |
a list of "smc" objects |
attName |
character - which slot to change |
newAtt |
character - what to change the slot to |
a list of edited "smc" objects
Karl Dykema <karl.dykema@vai.org
datadir <- system.file("data", package = "PGSEA") sample <- readGmt(file.path(datadir, "sample.gmt")) str(sample[1:2]) temp <- editSmc(sample[1:2],"creator","Joe Smith") str(temp)