quantileGRangesWidth: Quantile width determination strategy

Description Usage Arguments Value Examples

View source: R/functions_fetch_signal.R

Description

Returns the lowest multiple of win_size greater than min_quantile quantile of width(qgr)

Usage

1
quantileGRangesWidth(qgr, min_quantile = 0.75, win_size = 1)

Arguments

qgr

GRanges to calculate quantile width for

min_quantile

numeric [0,1] the minimum quantile of width in qgr

win_size

numeric/integer >=1, returned value will be a multiple of this

Value

numeric that is >= min_quantile and evenly divisible by win_size

Examples

1
2
3
gr = CTCF_in_10a_overlaps_gr
quantileGRangesWidth(gr)
quantileGRangesWidth(gr, min_quantile = .5, win_size = 100)

seqsetvis documentation built on Nov. 8, 2020, 5:57 p.m.