Usage
getPeak(Run = list(), file.name = character(), Targets = list(),
target.file.name = character(), drt = 10/60, dsc = 14/2,
weight = 2/3, deltaRI = 20, calcRI = NULL, rt.sort = FALSE)
Arguments
Run
a list including a single run information, if provided, the next argument, i.e. file.name, is ignored.
file.name
a character vector of file names, i.e. the run file names generated by readCDf
.
Targets
a list including the Targets information, e.g. acquired by getTarget
function.
target.file.name
a character object, i.e. string, of the name of the file generated by getTarget
.
drt
a numeric value of the retention time window width in seconds, optional but recommended
dsc
a numeric value of average half peak width based on the TICs, optional but recommended
weight
a numeric value in [0,1] interval to calculated a combined weighted similarity scores based on Apex and area under EIC curve.
deltaRI
a numeric value for the penalty on the retention index similarity score.
calcRI
a function name to calculate RI based on RI calibration information, can be obtained by getRI
function, optional.
rt.sort
a boolean value to sort the targets based on retention time before performing peak detection, optional