joinRegion {ChIPsim} | R Documentation |
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.
joinRegion(left, right, overlap, overlapWeights)
left |
First density vector. |
right |
Second density vector. |
overlap |
Overlap between the two features. |
overlapWeights |
Weights for overlapping region. |
Returns the combined density vector.
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.
Peter Humburg