extractMs2Spectra: extractMs2Spectra

Description Usage Arguments Value

View source: R/extractMs2Spectra.R

Description

This function is designed to return all available MS2 peaks for the given parent ions. The claim here is that each row represents a unique MS2 element for a common feature.

Usage

1
extractMs2Spectra(parentMatches, sampleData)

Arguments

parentMatches

- A numeric vector representing the indicies within sampleData data.frame that represent a parent ion of interest. This should have come from running the filterFragments function.

sampleData

- A data.frame of all features belonging to a single sample from which I want to extract specific information from.

Value

A list of MS2s that belong to the matched feature within a sample.


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