VRangesList-class: VRangesList objects

Description Constructor Accessors Utilities Author(s) Examples

Description

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.

Constructor

VRangesList(...): Creates a VRangesList object from VRanges objects in ....

Accessors

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.

Utilities

stackSamples(x): Concentrates the elements in x, using names(x) to appropriately fill sampleNames in the result.

Author(s)

Michael Lawrence

Examples

1
2
3
4
## construction
example(VRanges)
vrl <- VRangesList(sampleA = vr, sampleB = vr)
stackSamples(vrl)

VariantAnnotation documentation built on Nov. 8, 2020, 5:08 p.m.