joinRegion {ChIPsim}R Documentation

Combining two feature densities

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

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


[Package ChIPsim version 1.46.0 Index]