quantileGRangesWidth: Quantile width determination strategy

View source: R/functions_fetch_signal.R

quantileGRangesWidthR 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 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

Value

numeric that is >= min_quantile and evenly divisible by win_size

Examples

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

jrboyd/seqsetvis documentation built on Dec. 10, 2024, 11:23 a.m.