View source: R/functions_fetch_signal.R
quantileGRangesWidth | 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 value from 0 to 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
data(CTCF_in_10a_overlaps_gr)
gr = CTCF_in_10a_overlaps_gr
quantileGRangesWidth(gr)
quantileGRangesWidth(gr, min_quantile = .5, win_size = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.