checkOutputQuality: Check that the output data is properly formatted.

View source: R/grabMSdataCode.R

checkOutputQualityR Documentation

Check that the output data is properly formatted.

Description

This function checks that data produced by repeated calls to the 'grabMzmlData()' and 'grabMzxmlData()' functions is formatted properly before it's provided to the user. It checks that all of the requested data has been obtained and warns if data is found to be empty, misnamed, or has columns of the wrong type.

Usage

checkOutputQuality(output_data, grab_what)

Arguments

output_data

The collected data resulting from repeated calls to 'grabMzmlData()', after being bound together.

grab_what

The names of the data requested by the user.

Value

NULL (invisibly). The goal of this function is its side effects, i.e. throwing errors and providing info when the files are not found.


RaMS documentation built on Dec. 28, 2022, 2:26 a.m.