Learn R Programming

pmd (version 0.2.1)

gettarget: 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

Run this code
# NOT RUN {
data(spmeinvivo)
pmd <- getpaired(spmeinvivo)
std <- getstd(pmd)
index <- gettarget(std$rt[std$stdmassindex])
table(index)
# }

Run the code above in your browser using DataLab