importChrom: Import an Agilent MassHunter chromatogram from a csv file...

View source: R/importChrom.R

importChromR Documentation

Import an Agilent MassHunter chromatogram from a csv file into a useful format

Description

This function takes a csv file that was generated by exporting TIC, SIM, MRM, or binary-pump pressure chromatograms from Agilent MassHunter Qualitative Analysis and tidies the data into a useful data.frame since the output from Agilent software is so weird. Input is a character string that is the name of the csv file.

Usage

importChrom(csvfile, saveFile = FALSE)

Arguments

csvfile

The csv file name that was exported from MassHunter Qual

Value

Output is a tidy data.frame with columns indicating the file, the chromatogram type, the ionization mode, the retention time, the counts, etc. If saveFile is set to TRUE, a new csv file of the tidied chromatographic data will be saved in the same directory, and it will have "- tidy" appended to the input file name.


shirewoman2/LaurasHelpers documentation built on Oct. 22, 2023, 2:07 p.m.