extract_scan_data: Read a mzML/mzXML file and extract from it some important...

View source: R/proteomics.R

extract_scan_dataR Documentation

Read a mzML/mzXML file and extract from it some important metadata.

Description

When working with swath data, it is fundamentally important to know the correct values for a bunch of the input variables. These are not trivial to acquire. This function attempts to make this easier (but slow) by reading the mzXML file and parsing out helpful data.

Usage

extract_scan_data(
  file,
  id = NULL,
  write_acquisitions = TRUE,
  format = "mzXML",
  allow_window_overlap = FALSE,
  start_add = 0
)

Arguments

file

Filename to read.

id

An id to give the result.

write_acquisitions

If a filename is provided, write a tab separated table of windows.

format

Either mzXML or mzML.

allow_window_overlap

One may choose to foce windows to not overlap.

start_add

Add a minute to the start of the windows to avoid overlaps?

Value

List containing a table of scan and precursor data.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.