loadMSFile: Raw data file loader.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Loads a raw mass spectrometry run/data file into memory as an MSExperiment object. The input MS file must be in mzML (OpenMS) format.

Usage

1
loadMSFile(filePath)

Arguments

filePath

The location of the mzML file, as a string.

Value

The in-memory representation of the MS run, as an MSExperiment.

Examples

1
2
3
4
5
## Not run: 
experiment <- loadMSFile("inst/extdata/20190122_HeLa_QC_Slot1-47_1_3228_800-810.mzML")
experiment$getNrSpectra()  # Returns 8

## End(Not run)

ychen-uoft/msFeatureCmp documentation built on Dec. 23, 2021, 7:17 p.m.