filterFragments: filterFragments

Description Usage Arguments Value

View source: R/filterFragments.R

Description

This function is designed to find mz and rt matches between the current feature being investigated and a sample. It shoud return indicies of features that are within the allowed error.

Usage

1
filterFragments(curMz, curRt, sampleData, ppm, rtError)

Arguments

curMz

- current m/z value of feature searched within the data

curRt

- current rt value of feature searched within the data

sampleData

- current sample being screened for ms2 matches

ppm

- mass error match between sample m/zs and entered curMz

rtError

- rt error between sample feature's rt and curRt

Value

a vector of matching indicies.


crmclean/ms2sweeper documentation built on May 22, 2019, 2:44 p.m.