numCallable: Count Rle positions >= min

Description Usage Arguments Value

View source: R/rangeSummaries.R

Description

For Rle coverage vector, count number of positions where value >= min, think callable bases.

Usage

1
numCallable(rle, bounds, min)

Arguments

rle

integer Rle, no NAs

bounds

IRanges or matrix, positions in Rle to consider. If bounds is a matrix, the first two columns are used as start and end.

min

scalar integer, count Rle positions >= this value.

Value

integer vector of length nrow(bounds)


genoset documentation built on Nov. 17, 2017, 9:22 a.m.