extractCoverageForPositions: Get Coverage at Positions

Description Usage Arguments Value Author(s)

View source: R/sampleSpecific.R

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

1

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.

Author(s)

Michael Lawrence


VariantTools documentation built on Nov. 8, 2020, 8:03 p.m.