getBegEndIndMSP: Get beginning and end indices of each entry in a 'data.frame'...

Description Usage Arguments Details Value Author(s) Examples

Description

Get beginning and end indices of each entry in a data.frame in a peaks(MSP)-object

Usage

1

Arguments

msp

data.frame in peaks(MSP)-object, see ?convert2MSP for further information

Details

Internal use to retrieve start and end row indices for fragments of MS/MS features.

Value

getBegEndIndMSP returns a list of length 2 where the first entry contains the start indices and the second the end indices

Author(s)

Thomas Naake, thomasnaake@googlemail.com

Examples

1
2
3
4
5
data("sd02_deconvoluted", package = "MetCirc")
finalMSP <- convert2MSP(sd02_deconvoluted, split = " _ ",
                         splitIndMZ = 2, splitIndRT = 3)
finalMSPdf <- peaks(finalMSP)
getBegEndIndMSP(finalMSPdf)

PlantDefenseMetabolism/MetabolomicTools documentation built on May 8, 2019, 2:53 p.m.