| getSampleID {methylKit} | R Documentation |
The function returns or replaces the sample-ids stored in any of the
following methylKit objects:
methylRaw, methylRawDB, methylBase,
methylBaseDB,
methylRawList, methylRawListDB,
methylDiff, methylDiffDB.
getSampleID(x) getSampleID(x) <- value getSampleID(x) <- value ## S4 method for signature 'methylRawList' getSampleID(x) ## S4 replacement method for signature 'methylRawList' getSampleID(x) <- value ## S4 method for signature 'methylBase' getSampleID(x) ## S4 replacement method for signature 'methylBase' getSampleID(x) <- value ## S4 method for signature 'methylRaw' getSampleID(x) ## S4 replacement method for signature 'methylRaw' getSampleID(x) <- value ## S4 method for signature 'methylDiff' getSampleID(x) ## S4 replacement method for signature 'methylDiff' getSampleID(x) <- value ## S4 method for signature 'methylRawListDB' getSampleID(x) ## S4 replacement method for signature 'methylRawListDB' getSampleID(x) <- value ## S4 method for signature 'methylBaseDB' getSampleID(x) ## S4 replacement method for signature 'methylBaseDB' getSampleID(x) <- value ## S4 method for signature 'methylRawDB' getSampleID(x) ## S4 replacement method for signature 'methylRawDB' getSampleID(x) <- value ## S4 method for signature 'methylDiffDB' getSampleID(x) ## S4 replacement method for signature 'methylDiffDB' getSampleID(x) <- value
x |
an |
value |
a valid replacement vector for the sample-ids of the object |
data(methylKit)
#The Sample-Ids can be printed ..
getSampleID(methylBase.obj)
# .. or replaced.
newObj <- methylBase.obj
getSampleID(newObj) <- c("sample1","sample2","sample3","sample4")
getSampleID(newObj)