getRangeValues: Gets the values of genomic ranges

View source: R/rangesTools.R

getRangeValuesR Documentation

Gets the values of genomic ranges

Description

Gets the values of genomic ranges

Usage

getRangeValues(
  cov,
  targetRanges,
  doRev = as.character(strand(targetRanges)) == "-",
  asMatrix = TRUE
)

Arguments

cov

an object of the class RleList.

targetRanges

an object of the class GRanges.

doRev

a logical vector indicating whether to reverse ranges. Usually derived from targetRanges.

asMatrix

a logical indicating whether to return the values as a matrix.

Value

Returns the values or a matrix containing them.

Author(s)

Rehrauer, Hubert

Schmid, Peter

See Also

RleViewsList

viewApply


uzh/ezRun documentation built on Dec. 26, 2024, 9:53 a.m.