isSparse: isSparse

Description Usage Arguments Details Value Author(s)

View source: R/coverage.R

Description

Check coverage for sparseness

Usage

1
isSparse(cov, threshold = 0.1)

Arguments

cov

A cov object as SimpleRleList

threshold

Fraction of number of runs over total length

Details

Some Rle related operations become very slow when they are dealing with data that violates their sparseness assumption. This method provides an estimate about whether the data is dense or sparse. More precicely it checks if the fraction of the number of runs over the total length is smaller than a threshold

Value

Boolean whether this object is dense or sparse

Author(s)

Jens Reeder


HTSeqGenie documentation built on Nov. 8, 2020, 6:12 p.m.