MatchSpectra: Checks two spectra for similarity.

View source: R/RcppExports.R

MatchSpectraR Documentation

Checks two spectra for similarity.

Description

MatchSpectra matches two spectra and returns a similarity score (0 - 100

Usage

MatchSpectra(spec1, spec2, matchMethod = 0L)

Arguments

spec1

First spectrum to match.

spec2

Second spectrum to match.

matchMethod

Method to use. Currently only method 0 is implemented.

Details

Values < 0.0 in spec1 or spec2 will be set to 0.0. Currently, only matchMethod 0 is implemented and relies on the euclidean distance between the spectra.

Value

Match score in units of percent.


pasturm/TofDaqR documentation built on March 29, 2024, 12:10 a.m.