Rdocumentation
powered by
Learn R Programming
VariantTools (version 1.14.1)
extractCoverageForPositions: Get Coverage at Positions
Description
Gets values from an
RleList
corresponding to positions (width 1 ranges) in a
GRanges
(or
VRanges
). The result is a simple atomic vector.
Usage
extractCoverageForPositions(cov, pos)
Arguments
cov
An
RleList
like that returned by
coverage
.
pos
A
GRanges
consisting only of width-1 ranges.
Value
Atomic vector with one value from
cov
per position in
pos
.