gettarget: Get multiple injections index for selected retention time

Description Usage Arguments Value Examples

View source: R/pmdda.R

Description

Get multiple injections index for selected retention time

Usage

1
gettarget(rt, drt = 10, n = 6)

Arguments

rt

retention time vector for peaks in seconds

drt

retention time drift for targeted analysis in seconds, default 10.

n

max ions numbers within retention time drift windows

Value

index for each injection

Examples

1
2
3
4
5
data(spmeinvivo)
pmd <- getpaired(spmeinvivo)
std <- getstd(pmd)
index <- gettarget(std$rt[std$stdmassindex])
table(index)

pmd documentation built on Jan. 22, 2021, 1:06 a.m.