## On an XInteger object:
x <- as(12:-2, "XInteger")
reverse(x)
## On an XIntegerViews object:
v <- successiveViews(x, 1:5)
v
reverse(v)
## On an XVectorList object:
if (require(Biostrings) && require(drosophila2probe)) {
library(Biostrings)
library(drosophila2probe)
probes <- DNAStringSet(drosophila2probe)
reverse(probes)
}
Run the code above in your browser using DataLab