gr.quantile: gr.quantile

gr.quantileR Documentation

gr.quantile

Description

Computes width weighted quantiles of some GRanges metadata field "field"

Usage

gr.quantile(gr, qs, field = values(gr)[1], na.rm = FALSE)

Arguments

gr

GRanges

qs

quantiles ie numeric between 0 and 1 larger than 1, both boundary will be considered individual breakpoints

field

metadata field of gr to query (default is the first metadata field)

Value

numeric vector of length qs corresponding to the width weighted quantiles specified by qs

Author(s)

Marcin Imielinski


mskilab/gUtils documentation built on June 6, 2023, 12:08 a.m.