getTreatment {methylKit} | R Documentation |
The function returns or replaces the treatment vector stored in any of the
following methylKit objects:
methylBase
,methylRawList
,methylBaseDB
,
methylRawListDB
,methylDiff
,methylDiffDB
.
getTreatment(x) getTreatment(x) <- value getTreatment(x) <- value ## S4 method for signature 'methylRawList' getTreatment(x) ## S4 replacement method for signature 'methylRawList' getTreatment(x) <- value ## S4 method for signature 'methylBase' getTreatment(x) ## S4 replacement method for signature 'methylBase' getTreatment(x) <- value ## S4 method for signature 'methylDiff' getTreatment(x) ## S4 replacement method for signature 'methylDiff' getTreatment(x) <- value ## S4 method for signature 'methylRawListDB' getTreatment(x) ## S4 replacement method for signature 'methylRawListDB' getTreatment(x) <- value ## S4 method for signature 'methylBaseDB' getTreatment(x) ## S4 replacement method for signature 'methylBaseDB' getTreatment(x) <- value ## S4 method for signature 'methylDiffDB' getTreatment(x) ## S4 replacement method for signature 'methylDiffDB' getTreatment(x) <- value
x |
a |
value |
a valid replacement for the treatment vector of the object |
data(methylKit) # The treatment vector can be printed .. getTreatment(methylBase.obj) # .. or replaced with a new one newObj <- methylBase.obj getTreatment(newObj) <- c(1,2,3,4) getTreatment(newObj)