getTreatment-methods: Get or Set treatment vector of methylKit object

Description Usage Arguments Examples

Description

The function returns or replaces the treatment vector stored in any of the following methylKit objects: methylBase,methylRawList,methylBaseDB, methylRawListDB,methylDiff,methylDiffDB.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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

Arguments

x

a methylKit object

value

a valid replacement for the treatment vector of the object

Examples

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

methylKit documentation built on Jan. 30, 2021, 2 a.m.