IMPORTANT NOTE: Starting with BioC 3.3, RangedDataList objects are
deprecated in favor of GRangesList objects
(the GRangesList class is defined in the
GenomicRanges package).
Note that the use of RangedData and RangedDataList objects
has been discouraged in favor of GRanges and
GRangesList objects since BioC 2.12.
A formal list of RangedData
objects. Extends and inherits all its methods from
List. One use case is to group together
all of the samples from an experiment generating data on ranges.
Constructor
RangedDataList(...): Concatenates the
RangedData objects in ... into a new RangedDataList.
Other methods
stack(x, index.var = "name"): Concantenates the elements
of x into a RangedData, with a column
named by index.var that groups the records by their original
element in x.
Author(s)
Michael Lawrence
See Also
RangedData, the element type of this
List.
Examples
## IMPORTANT NOTE: Starting with BioC 3.3, RangedDataList objects are
## deprecated in favor of GRangesList objects (the GRangesList class
## is defined in the GenomicRanges package).
## Not run:
ranges <- IRanges(c(1,2,3),c(4,5,6))
a <- RangedData(IRanges(c(1,2,3),c(4,5,6)), score = c(10L, 2L, NA))
b <- RangedData(IRanges(c(1,2,4),c(4,7,5)), score = c(3L, 5L, 7L))
RangedDataList(sample1 = a, sample2 = b)
## End(Not run)