shift_match: Match signals from two experiments. For each signal in the...

Description Usage Arguments Value

View source: R/SABARSI.R

Description

Match signals from two experiments. For each signal in the first experiment, shift.match function finds the best matched signal in the second experiment. This function takes the potential frequency shifts into consideration for similarity measurement.

Usage

1
shift_match(xra, xrb, ta, tb)

Arguments

xra

A p*n data matrix of background-removed spectra in the first experiment.

xrb

A p*n data matrix of background-removed spectra in the second experiment.

ta

A vector of time indices of signals in the first experiment.

tb

A vector of time indices of signals in the second experiment.

Value

A list containing the time indices of signals in the first experiment, ta, and the time indices of corresponding time indices in the second experiment, as well as the correlation of each match pairs, corra.


sabarsi documentation built on Aug. 8, 2019, 5:02 p.m.