| VRangesList-class {VariantAnnotation} | R Documentation |
VRangesList is a virtual class representing a list of
VRanges objects and should behave much like any
other derivative of List. It has both a simple and
compressed implementation. VRangesList provides conveniences for
manipulating sets of VRanges objects.
VRangesList(...):
Creates a VRangesList object from VRanges objects in ....
alt(x): Returns a CharacterList or RleList, effectively by
calling alt(x[[i]]) on each element of x.
ref(x):
Returns a CharacterList, effectively by calling ref(x[[i]])
on each element of x.
stackSamples(x): Concentrates the elements in x,
using names(x) to appropriately fill sampleNames in
the result.
Michael Lawrence
## construction example(VRanges) vrl <- VRangesList(sampleA = vr, sampleB = vr) stackSamples(vrl)