getMBRecordPeakAnnotations: Retrieve Annotations from a MassBank Record

Description Usage Arguments Value Author(s) See Also Examples

View source: R/MassBankRecordeR.R

Description

This function extracts the PK$ANNOTATION entries from a MassBank record, returning a data frame containing the corresponding entries, with column headers taken from the record. Use the function getMBPeaksAnnos to get merged peak lists and annotations.

Usage

1

Arguments

MBrecord

File name (and path) to a valid MassBank record file.

Value

Returns a data frame containing annotations, or NULL if the retrieval failed.

Author(s)

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

See Also

getMBPeaksAnnos, getMBRecordPeaks.

Examples

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

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