map
and pmap
are defunct. Use mapCoords
and pmapCoords
instead.A method for translating a set of input ranges through a GAlignments object. Returns a GRangesMapping 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
GRangesList object is defined and documented
in the GenomicRanges package.
"map"(from, to)
GenomicRanges
from
and the
sequences in the result.Hits
instance and GRanges
instance.
to
is taken to represent the
alignment of a (read) sequence. The CIGAR string is used to
translate the input ranges to be relative to the read start. This
is useful, for example, when determining the cycle (read position)
at which a particular genomic mismatch occurs.
mapCoords
and pmapCoords
methods.