getSampleID-methods: Get or Set Sample-IDs of the methylKit objects

Description Usage Arguments Examples

Description

The function returns or replaces the sample-ids stored in any of the following methylKit objects: methylRaw, methylRawDB, methylBase, methylBaseDB, methylRawList, 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
41
42
43
44
45
46
47
48
49
50
51
52
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

Arguments

x

an methylBaseDB,methylRawListDB or methylDiffDB object

value

a valid replacement vector for the sample-ids of the object

Examples

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

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