## Displaying a SimpleList object:
x1 <- SimpleList(a=letters, i=Rle(22:20, 4:2))
class(x1)
## The "Simple" prefix is removed from the real class name of the
## object:
x1
library(IRanges)
x2 <- IntegerList(11:12, integer(0), 3:-2, compress=FALSE)
class(x2)
## The "Simple" prefix is removed from the real class name of the
## object:
x2
## This is controlled by internal helper classNameForDisplay():
classNameForDisplay(x2)
Run the code above in your browser using DataLab