dot-parseHeaderDt: Process header data.table containing comment string

Description Usage Arguments Value

Description

Wrapper function that takes a data.table containing header information and a 'Comment' column full of text. The 'Comment' column is parsed and a data.table with additional columns is returned. The original 'Comment' column is removed.

Usage

1
.parseHeaderDt(headerDt, commentType = commentType)

Arguments

headerDt

a data.table returned from .processHeader()

commentType

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

Value

a data.table with additional parsed fields from the comment comment strings


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