dot-processHeader: Process the header from an msp file

Description Usage Arguments Value

Description

Top level header processor for msp files. Provide a character vector containing the header lines and corrisponding groupIndex.

Usage

1
.processHeader(header, groupIndex, commentType = commentType)

Arguments

header

character vector containing the header lines only

groupIndex

an integer vector the same length as 'header' providing a index value that links the 'header' information to data chunks (spectral data)

commentType

either 'NIST' or 'MoNA' - used for comment parsing

Value

a fully formatted data.table


pmbrophy/mspReader documentation built on May 26, 2020, 9:58 p.m.