gettarget: Get multiple injections index for selected retention time

View source: R/pmdda.R

gettargetR Documentation

Get multiple injections index for selected retention time

Description

Get multiple injections index for selected retention time

Usage

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

data(spmeinvivo)
pmd <- getpaired(spmeinvivo)
std <- getstd(pmd)
index <- gettarget(std$rt[std$stdmassindex])
table(index)

yufree/pmd documentation built on April 19, 2024, 9:31 a.m.