| start {BiocGenerics} | R Documentation |
Get or set the start, end, width, or single positions stored in an object.
NOTE: This man page is for the start, `start<-`,
end, `end<-`, width, `width<-`, and
pos S4 generic functions defined in the BiocGenerics
package.
See ?stats::start for the start and end
S3 generics defined in the stats package.
start(x, ...) start(x, ...) <- value end(x, ...) end(x, ...) <- value width(x) width(x, ...) <- value pos(x)
x |
For the For the |
... |
Additional arguments, for use in specific methods. |
value |
The start, end, or width values to set on |
See specific methods defined in Bioconductor packages.
stats::start in the stats package
for the start and end S3 generics.
showMethods for displaying a summary of the
methods defined for a given generic function.
selectMethod for getting the definition of
a specific method.
start,IRanges-method in the IRanges
package for examples of specific start, end, and
width methods (defined for IRanges objects).
pos,IPos-method in the IRanges
package for an example of a specific pos method
(defined for IPos objects).
BiocGenerics for a summary of all the generics defined in the BiocGenerics package.
## 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
## pos() getter:
pos
showMethods("pos")
selectMethod("pos", "IPos") # pos() getter for IPos objects