binned_function: calculate binned values

Description Usage Arguments Details Value

View source: R/parp1.R

Description

given a set of genomic bins and an RLE-list object, return value

Usage

1
binned_function(bins, numvar, binfun = "mean", mcolname = "avg")

Arguments

bins

a GRanges object representing genomic bins

numvar

a named RleList object representing numerical variable along the genome

binfun

character string of the function to apply

mcolname

the name of the metadata column containing the binned value of the object

Details

Adapted from documentation of tileGenome

Value

bins with the mcolname containing the binned value


rmflight/fmcorrelationbreastcaparp1 documentation built on May 27, 2019, 9:31 a.m.