load_spectra_data: Load Spectra Data

View source: R/fct_load_data.R

load_spectra_dataR Documentation

Load Spectra Data

Description

Loads spectra data in mzML or mzXML format using the xcms package.

Usage

load_spectra_data(datadir, metadata, format = "mzML", mode = "onDisk")

Arguments

datadir

Path to the directory containing the data files.

metadata

Contains sample information. Each row represents a sample and columns contain metadata information.

format

Specifies the format of the data files. Default is 'mzML'. Supported formats include 'mzML' and 'mzXML'.

mode

Specifies the mode of operation. Default is 'onDisk'. Other modes depend on xcms package capabilities.

Details

Load Spectra data This function is intended to load the spectra data in mzML or mzXML format using the xcms package

Value

An object containing the loaded spectra data.


Coayala/MetaboTandem documentation built on Feb. 14, 2025, 1:22 p.m.