getAllScans: getAllScans

View source: R/Functions_deprecated.R

getAllScansR Documentation

getAllScans

Description

get a list of all scans in a scanlist

Usage

getAllScans(
  scanlist,
  MSData,
  removeNoise = NULL,
  type = c("ms2", "ms1", "acquisition")
)

Arguments

scanlist

as returned by makeScanlist2()

MSData

list of xcmsRaw objects

removeNoise

if not NULL, a numeric specifying a relative intensity cutoff (<1, relative to maximum peak intensity)

type

specify what the scan number represents, either "acquisition", "ms1" or "ms2".

Value

a list of MS spectra (each in matrix format)


mjhelf/Mosaic documentation built on April 28, 2022, 11:32 a.m.