joinRegion: Combining two feature densities

Description Usage Arguments Value Note Author(s)

View source: R/nucSim.R

Description

Function to take two vectors of feature densities and combine them into a single vector, using overlap between the two densities and smoothing the transition.

Usage

1
joinRegion(left, right, overlap, overlapWeights)

Arguments

left

First density vector.

right

Second density vector.

overlap

Overlap between the two features.

overlapWeights

Weights for overlapping region.

Value

Returns the combined density vector.

Note

This function is used as part of feat2dens and there should be no need to call it directly although it may be useful for possible extensions.

Author(s)

Peter Humburg


ChIPsim documentation built on Nov. 8, 2020, 8:09 p.m.