overlapMetrics {aqp}R Documentation

Find and Quantify Overlap within a 1D Sequence

Description

Desc.

Usage

overlapMetrics(x, thresh)

Arguments

x

vector of relative horizontal positions, one for each profile

thresh

threshold defining "overlap", typically < 1

@return a list:

  • idx: unique index to overlapping elements in x

  • ov: normalized overlap (see details)

Examples


x <- c(1, 2, 3, 3.4, 3.5, 5, 6, 10)

overlapMetrics(x, thresh = 0.5)

[Package aqp version 1.31 Index]