readJDX: Read and process a JCAMP-DX file.
Description
This function reads files with the JCAMP-DX format (and extension .dx). This function is not extensively tested. It does not work with NMR data. Not normally called by the user; used by files2SpectraObject.Usage
readJDX(file = "", debug = FALSE)
Value
A data frame with the following elements:xExtracted frequency valuesyExtracted intensitiesDetails
The data block must be of the type XYDATA=(X++(Y..Y)) It handles AFFN format for the data block and only with '+', '-' or ' ' as the separator.References
The details of the JCAMP-DX formats can be found at at http://www.jcamp-dx.org/https://github.com/bryanhanson/ChemoSpec