Skip to contents

Deprecated. Use ProtGenerics::spectra(xcms.xcms) (and optionally Spectra::filterMsLevel() / Spectra::filterPolarity()) instead.

Previously: build a Spectra::Spectra object from the raw files behind an XCMSnExp, filtered to the polarity of xcms.xcms. Scan IDs from get_xcms_scan_Stat() are assigned as spectraNames and the scan_id spectra variable.

Usage

get_xcms_Spectra(xcms.xcms)

Arguments

xcms.xcms

An XCMSnExp object.

Value

A Spectra object with scan_id matching xcms scan metadata.