alignMS2s: alignMS2s

Description Usage Arguments Value

View source: R/alignMS2s.R

Description

This function is designed to align MS2 spectra from a common parent ion. The input consists of the sweeperObj and out output is the same object with the pureMS2 slot filled.

Usage

1
2
alignMS2s(sweeperObj, ppm = 5, betweenSampThresh = 0.15,
  poisThresh = 0.05, cores = 1, mzDiff = 0.5)

Arguments

sweeperObj

- sweeper object containing ms2 data for each matched feature per sample

ppm

- ppm error to check for similarities between parent ions across samples.

betweenSampThresh

- minimum p probability value required to retain a peak during across sample comparison.

poisThresh

- minimum p value required to retaion a peak during modeling of occurance frequencies.

cores

- number of cores running the algorithm.

mzDiff

- absolute mass difference required to group common peaks of across distinct ms2 scans.

Value

the sweeper object with the pureMS2 slot filled.


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