List of IRanges and NormalIRanges
Description
IRangesList
and
NormalIRangesList
objects for storing
IRanges
and NormalIRanges
objects
respectively.
Constructor
IRangesList(..., universe = NULL, compress = TRUE)
: The...
argument accepts either a commaseparated list ofIRanges
objects, or a singleLogicalList
/ logicalRleList
object, or 2 elements namedstart
andend
each of them being either a list of integer vectors or an IntegerList object. WhenIRanges
objects are supplied, each of them becomes an element in the newIRangesList
, in the same order, which is analogous to thelist
constructor. Ifcompress
, the internal storage of the data is compressed.
Coercion
unlist(x)
: Unlistsx
, anIRangesList
, by concatenating all of the ranges into a singleIRanges
instance. If the length ofx
is zero, an emptyIRanges
is returned.
Methods for NormalIRangesList objects

max(x)
: An integer vector containing the maximum values of each of the elements ofx
. 
min(x)
: An integer vector containing the minimum values of each of the elements ofx
.
Author(s)
Michael Lawrence
See Also
RangesList
, the parent of this class, for more
functionality.
intrarangemethods and interrangemethods for intra and inter range transformations of IRangesList objects.
setopsmethods for set operations on IRangesList objects.
Examples
1 2 3 4 5 6 7 8 9 10 11 12  range1 < IRanges(start=c(1,2,3), end=c(5,2,8))
range2 < IRanges(start=c(15,45,20,1), end=c(15,100,80,5))
named < IRangesList(one = range1, two = range2)
length(named) # 2
names(named) # "one" and "two"
named[[1]] # range1
unnamed < IRangesList(range1, range2)
names(unnamed) # NULL
x < IRangesList(start=list(c(1,2,3), c(15,45,20,1)),
end=list(c(5,2,8), c(15,100,80,5)))
as.list(x)
