MBFileToVector: Read a MassBank Record (or any file) into a Vector

Description Usage Arguments Value Author(s) Examples

View source: R/MassBankRecordeR.R

Description

This opens the MassBank record (text file) in the path MBrecord and uses readLines to save the values in a vector

Usage

1
MBFileToVector(MBrecord)

Arguments

MBrecord

File name (and path) to parse.

Value

Returns a vector containing the lines in the record

Author(s)

Emma Schymanski <emma.schymanski@uni.lu>, based on code from Erik Mueller.

Examples

1
2
MBrecord <- system.file("extdata","EA020161_Diclofenac.txt",package="ReSOLUTION")
MBFileToVector(MBrecord)

schymane/ReSOLUTION documentation built on May 22, 2021, 3:41 a.m.