ptrRead: Read .h5 file from PTR and return a list containing useful...

View source: R/ptrRead.r

ptrReadR Documentation

Read .h5 file from PTR and return a list containing useful results

Description

Read .h5 file from PTR and return a list containing useful results

Usage

ptrRead(
  file,
  wd = getwd(),
  mz = NULL,
  threshold = 0,
  sumSpectraOnly = FALSE,
  integrationTable = NULL
)

Arguments

file

file .h5 to read

wd

path for the working directory

mz

If not NULL, vector of length 2 representing a relevant interval of mz to be studied

threshold

threshold

sumSpectraOnly

load only sum spectra

integrationTable

integrationTable

Examples

#DONOTRUN
#file <- dir(system.file(package = "PTRMSR", dir = "extdata"),full.name=TRUE,pattern="h5$")
#ptr=ptrRead(file)

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