ptrReadListIBT: This function aims to read a list of files of PTR type and to...

View source: R/ptrReadListIBT.r

ptrReadListIBTR Documentation

This function aims to read a list of files of PTR type and to return an ibm object containing a dataframe with "name", "mz","intensity","file" columns

Description

This function aims to read a list of files of PTR type and to return an ibm object containing a dataframe with "name", "mz","intensity","file" columns

Usage

ptrReadListIBT(
  listFiles,
  sumSpectraOnly = TRUE,
  mz = NULL,
  rt = NULL,
  integrationTable = NULL
)

Arguments

listFiles

vector of characters representing the names of the files to be loaded

sumSpectraOnly

TRUE by default. Faster if no time is required in the analysis.

mz

A numeric(2) or two-column matrix defining the mass-to-charge (mz) range(s) for the chromatogram(s). For each spectrum/retention time, all intensity values within this mz range are aggregated to result in the intensity value for the spectrum/retention time. If not specified, the full mz range is considered.

rt

A numeric(2) or two-column matrix defining the lower and upper boundary for the retention time range/window(s) for the chromatogram(s). If a matrix is provided, a chromatogram is extracted for each row. If not specified, a chromatogram representing the full retention time range is extracted.

integrationTable

If not NULL, gives the intensity by time according to an integrationTable

Value

a ibt object


ChemoSens/PTRMSR documentation built on June 15, 2025, 10:40 a.m.