quantileGRangesWidth {seqsetvis} | R Documentation

## Quantile width determination strategy

### Description

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

### Usage

    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

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

[Package seqsetvis version 1.10.0 Index]