quantileGRangesWidth {seqsetvis} | R Documentation |
Returns the lowest multiple of win_size greater than min_quantile quantile of width(qgr)
quantileGRangesWidth(qgr, min_quantile = 0.75, win_size = 1)
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 |
numeric that is >= min_quantile and evenly divisible by win_size
gr = CTCF_in_10a_overlaps_gr quantileGRangesWidth(gr) quantileGRangesWidth(gr, min_quantile = .5, win_size = 100)