fixGRangesWidth {seqsetvis} | R Documentation |
Width is selected by rounding up to the lowest multiple of win_size greater than min_quantile quantile of widths.
fixGRangesWidth(qgr, min_quantile = 0.75, win_size = 1, anchor = c("center", "start")[1])
qgr |
GRanges. To be resized. |
min_quantile |
numeric [0,1]. The quantile level final width must be greater than. default is 0.75 |
win_size |
integer > 0. final width must be a multiple of win_size. |
anchor |
extend from center of from start (strand sensitive) |
a GRanges derived from qgr (length and order match). All ranges are of same width and centered on old. Width is at least minimum quantile and a multiple of win_size