map-methods {GenomicRanges} | R Documentation |
A method for translating a set of input ranges through a GRangesList object. Returns a RangesMapping object.
NOTE: The map
generic function is defined and
documented in the IRanges package.
A method for translating a set of input ranges through a
GAlignments object is defined and
documented in the GenomicAlignments package.
## S4 method for signature 'GenomicRanges,GRangesList' map(from, to)
from |
The input ranges to map, usually
a |
to |
The alignment between the sequences in |
Each element in to
is taken to represent an alignment
of a sequence on a genome. The typical case is a set of transcript
models, as might be obtained via GenomicFeatures::exonsBy
.
The method translates the input ranges to be relative to the transcript
start. This is useful, for example, when predicting coding consequences
of changes to the genomic sequence.
An object of class RangesMapping
. The GenomicRanges package
provides some additional methods on this object:
|
|
|
|
M. Lawrence
The RangesMapping class is the typical return value.