parentPurity: parentPurity

Description Usage Arguments Value

View source: R/parentPurity.R

Description

This is a function used to determine the purity of each parent ion in making the ms2 spectra. The amuWindow defines the range of masses that can enter the collision cell. Ideally, this will be used to help correct patterns and deconvolute the ms2 spectra.

Usage

1
2
parentPurity(sampleData, curMz, parentMatches, allMasses, allIntensities,
  scanTimes, ppm, isoWindow)

Arguments

sampleData

- current sample of MS2 data being looked at.

curMz

- m/z being queried within data.

parentMatches

- index of sampleData that contain matches to curMz

allMasses

- all mz values from sample raw data

allIntensities

- all intensity values from sample raw data

scanTimes

- all scans (rts) from sample raw data

ppm

- mass error

isoWindow

- a measure in dalton of the isolation error from the instrument

Value

List of parent m/z matches over time for each feature along with their purity.


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