start: Start, end, width generic getters and setters

Description Usage Arguments Value See Also Examples

Description

Get or set the start, end, or width of an object.

NOTE: This man page is for the start, `start<-`, end, `end<-`, width, and `width<-` S4 generic functions defined in the BiocGenerics package. See ?stats::start for the start and end S3 generics defined in the stats package.

Usage

1
2
3
4
5
6
7
8
start(x, ...)
start(x, ...) <- value

end(x, ...)
end(x, ...) <- value

width(x)
width(x, ...) <- value

Arguments

x

An object containing start, end, and width values.

...

Additional arguments, for use in specific methods.

value

The start, end, or width values to set on x.

Value

See specific methods defined in Bioconductor packages.

See Also

Examples

 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
## start getter:
start
showMethods("start")

library(IRanges)
showMethods("start")
selectMethod("start", "IRanges")  # start getter for IRanges objects

## start setter:
`start<-`
showMethods("start<-")
selectMethod("start<-", "IRanges")  # start setter for IRanges objects

## end getter:
end
showMethods("end")
selectMethod("end", "IRanges")  # end getter for IRanges objects

## end setter:
`end<-`
showMethods("end<-")
selectMethod("end<-", "IRanges")  # end setter for IRanges objects

## width getter:
width
showMethods("width")
selectMethod("width", "IRanges")  # width getter for IRanges objects

## width setter:
`width<-`
showMethods("width<-")
selectMethod("width<-", "IRanges")  # width setter for IRanges objects

nturaga/BiocGenerics documentation built on May 7, 2019, 11:15 a.m.