pairwise_comparison_vectorized: Pair-Wise Comparison vectorized

Description Usage Arguments Value Author(s)

View source: R/pairwise_comparison_vectorized.R

Description

This function can be used to perform a pairwise comparison for vectors of boundaries

Usage

1
2
3
4
5
6
7
8
pairwise_comparison_vectorized(
  leftWidth.x,
  leftWidth.y,
  rightWidth.x,
  rightWidth.y,
  out = "samePeak",
  P_overlap_threshold = 0.2
)

Arguments

leftWidth.x

left border of comparison 1

leftWidth.y

left border of comparison 2

rightWidth.x

right border of comparison 1

rightWidth.y

right border of comparison 2

out

a character vector specifying method to perform. Options: ('delta', 'strcat', 'isequal', 'samePeak', 'percentOverlap')

P_overlap_threshold

a numeric value specifying the curret off to use for considering a peak overlap as bein the same or not

Value

A logical value if boundaries are comparable

Author(s)

Justin Sing https://github.com/singjc


singjc/mstools documentation built on June 28, 2020, 8:10 p.m.