inMatchWindow: For grouped peaks: separate them into in-width vs. out-width...

View source: R/fcn_MQalign.R

inMatchWindowR Documentation

For grouped peaks: separate them into in-width vs. out-width class.

Description

Looking at groups only: Compute the fraction of 3D-peak pair groups per Raw file which have an acceptable RT difference after alignment using the result from 'idTransferCheck()', i.e. compute the fraction of groups which are within a certain RT tolerance.

Usage

inMatchWindow(data, df.allowed.deltaRT)

Arguments

data

A data.frame with columns 'fc.raw.file', 'rtdiff_mixed', 'rtdiff_genuine'

df.allowed.deltaRT

The allowed matching difference for each Raw file (as data.frame(fc.rawfile, m))

Details

Returned value is between 0 (bad) and 1 (all within tolerance).

Value

A data.frame with one row for each raw.file and columns 'raw.file' and score 'withinRT' (0-1)


PTXQC documentation built on July 26, 2023, 5:27 p.m.