intersectBedgraph: intersectBedgraph

Description Usage Arguments Value

View source: R/intersectBedgraph.R

Description

GRbed vs GRbg

Usage

1
intersectBedgraph(bed, bg, padding = 0, alignment = "mean", vectorOut = F)

Arguments

bed

A Granges with regions to subset with.

bg

A Granges with scores (AKA bedgraph/bigwig).

padding

Increase search-space around bed.

alignment

When multiple hits, What to do? [upstream, downstream, middle, mean, median]

vectorOut

Instead of a Grangesm output just a vector of scores per TAD

Value

A genomicRanges-object


robinweide/RHWlib documentation built on July 23, 2018, 4:13 a.m.