extractCoverageForPositions {VariantTools} | R Documentation |
Gets values from an RleList
corresponding to positions (width 1
ranges) in a GRanges
(or VRanges
). The result is a
simple atomic vector.
extractCoverageForPositions(cov, pos)
cov |
An |
pos |
A |
Atomic vector with one value from cov
per position in pos
.
Michael Lawrence