suffixToCV: For a given filename, check the suffix and translate it to an...

Description Usage Arguments Details Value Examples

View source: R/mzQC.R

Description

The following mapping is currently known: .raw : MS:1000563 ! Thermo RAW format .mzML : MS:1000584 ! mzML format .mzData : MS:1000564 ! PSI mzData format .wiff : MS:1000562 ! ABI WIFF format .pkl : MS:1000565 ! Micromass PKL format .mzXML : MS:1000566 ! ISB mzXML format .yep : MS:1000567 ! Bruker/Agilent YEP format .dta : MS:1000613 ! Sequest DTA format .mzMLb : MS:1002838 ! mzMLb format

Usage

1
suffixToCV(filepath)

Arguments

filepath

A filename (with optional path)

Details

Falls back to 'MS:1000560 ! mass spectrometer file format' if no match could be found.

Value

A CV term accession as string, e.g. 'MS:1000584'

Examples

1
2
3
  suffixToCV("test.mZmL")  # MS:1000584
  suffixToCV("test.raw")  # MS:1000563
  suffixToCV(c("test.raw", "bla.mzML"))

PTXQC documentation built on Oct. 4, 2021, 9:08 a.m.