ptrReadListIBM: ptrReadListIBM This function aims to read a list of files of...

View source: R/ptrReadListIBM.r

ptrReadListIBMR Documentation

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

Description

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

Usage

ptrReadListIBM(
  listFiles,
  sumSpectraOnly = TRUE,
  normalization = "none",
  rt = NULL,
  integrationTable = NULL,
  breaks = NULL,
  by = 0.1,
  type = "sumSpectrum"
)

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.

normalization

"none" # TODO

rt

vector of two numbers (min time and max time). If NULL (default), no time limits.

integrationTable

integrationTable containing columns: "mz","inf" and "sup"

breaks

breaks to be used

by

step of time for integration of the chromatogram. Default 0.1

type

file .h5 to read

Value

a ibm object

Examples

# files <- dir(system.file(package = "chemosensR", dir = "extdata"),full.name=TRUE,pattern="h5$")
# ptr_ibm=ptrReadListIBM(files)

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