This function generates one or more EIC(s) for given retention time and m/z ranges.

getEICs(file, ranges)

Arguments

file

The file path to the sample analysis data file (.mzXML or .mzML).

ranges

A data.frame with numeric columns "retmin", "retmin", "mzmin", "mzmax" with the lower/upper ranges of the retention time and m/z.

Value

A list with EIC data for each of the rows in ranges.